source: extensions/net.sf.basedb.mev/trunk/resources/launch_mev.jsp @ 1028

Last change on this file since 1028 was 1028, checked in by Nicklas Nordborg, 13 years ago

References #203: Change source files to UTF-8

Changed 'Hakkinen' to 'Häkkinen'

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 4.2 KB
Line 
1<%-- $Id: launch_mev.jsp 1028 2009-04-07 06:10:55Z nicklas $
2  ------------------------------------------------------------------
3  Copyright (C) 2007 Jari Häkkinen
4  Copyright (C) 2009 Nicklas Nordborg
5
6  This file is part of BASE - BioArray Software Environment.
7  Available at http://base.thep.lu.se/
8
9  BASE is free software; you can redistribute it and/or
10  modify it under the terms of the GNU General Public License
11  as published by the Free Software Foundation; either version 2
12  of the License, or (at your option) any later version.
13
14  BASE is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 59 Temple Place - Suite 330,
22  Boston, MA  02111-1307, USA.
23  ------------------------------------------------------------------
24
25  @author Jari, Nicklas
26--%>
27<%@ page
28  pageEncoding="UTF-8"
29  contentType="application/x-java-jnlp-file"
30  session="false"
31  import="net.sf.basedb.core.SessionControl"
32  import="net.sf.basedb.clients.web.Base"
33  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
34  import="net.sf.basedb.util.Values"
35%>
36<%
37response.setHeader("Expires", "0");
38
39final SessionControl sc = Base.getExistingSessionControl(request, true);
40final String ID = sc.getId();
41final int bioAssaySetId = Values.getInt(request.getParameter("bioassayset_id"));
42final String scheme = request.getScheme();
43final String serverName = request.getServerName();
44final int serverPort = request.getServerPort();
45final String homeUrl = ExtensionsControl.getHomeUrl("net.sf.basedb.mev.launchmev");
46final String fullHomeUrl = scheme + "://" + serverName + ":" + serverPort + homeUrl;
47final int jvmMaxMemory = Values.getInt(sc.getUserClientSetting("net.sf.basedb.mev.launchmev.jvm.maxmemory"), 512);
48out.clearBuffer();
49%><?xml version="1.0" encoding="UTF-8"?>
50<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc.//DTD JNLP 1.5//EN" "http://www.netbeans.org/jnlp/DTD/jnlp.dtd">
51<jnlp spec="1.0+"
52  codebase="<%=fullHomeUrl%>/jar"
53  version="4.3.02">
54
55  <information>
56    <title>MeV: MultiExperiment Viewer</title>
57    <vendor>http://www.tm4.org</vendor>
58    <homepage href="http://www.tm4.org"/>
59  </information>
60
61  <security>
62    <all-permissions/>
63  </security>
64
65  <resources>
66    <jar href="mev-base.jar"/> <!-- must be first since main class is here -->
67    <jar href="mev-algorithm-impl.jar"/>
68    <jar href="mev-algorithm-support.jar"/>
69    <jar href="mev-gui-impl.jar"/>
70    <jar href="mev-gui-support.jar"/>
71    <jar href="mev-util.jar"/>
72
73    <jar href="args4j-2.0.9.jar"/>
74    <jar href="base64.jar"/>
75    <jar href="colt.jar"/>
76    <jar href="comcgh.jar"/>
77    <jar href="commons-net-1.4.1.jar"/>
78    <jar href="dialogHelp.jar"/>
79    <jar href="educgh.jar"/>
80    <jar href="ftpbean.jar"/>
81    <jar href="HTTPClient.jar"/>
82    <jar href="images.jar"/>
83    <jar href="j3daudio.jar"/>
84    <jar href="j3dcore.jar"/>
85    <jar href="j3dutils.jar"/>
86    <jar href="jai_codec.jar"/>
87    <jar href="jai_core.jar"/>
88    <jar href="jama.jar"/>
89    <jar href="jaxp.jar"/>
90    <jar href="jbcl.jar"/>
91    <jar href="jconn2.jar"/>
92    <jar href="jdom-1.0.jar"/>
93    <jar href="jfreechart-0.9.20.jar"/>
94    <jar href="jfreechart-common-0.9.5.jar"/>
95    <jar href="jsch-0.1.39.jar"/>
96    <jar href="JSciCore.jar"/>
97    <jar href="JSciPartial.jar"/>
98    <jar href="normalization.jar"/>
99    <jar href="piccolo.jar"/>
100    <jar href="piccolox.jar"/>
101    <jar href="servlet.jar"/>
102    <jar href="soap.jar"/>
103    <jar href="swing-layout-1.0.1.jar"/>
104    <jar href="swingx-2006_10_27.jar"/>
105    <jar href="tar.jar"/>
106    <jar href="Text_JDBC30.jar"/>
107    <jar href="vecmath.jar"/>
108    <jar href="weka.jar"/>
109    <jar href="xerces.jar"/>
110    <jar href="xml-apis.jar"/>
111   
112    <extension name="mail" href="../others.jsp?mail"/>
113    <extension name="goose" href="../others.jsp?goose"/>
114   
115    <j2se version="1.5.0+"
116        max-heap-size="<%=jvmMaxMemory%>M"
117        href="http://java.sun.com/products/autodl/j2se"
118      />
119  </resources>
120 
121  <application-desc main-class="org.tigr.microarray.mev.TMEV">
122    <argument>-fileType</argument>
123    <argument>tdms</argument>
124    <argument>-fileUrl</argument>
125    <argument><%=fullHomeUrl%>/MevExport/<%=ID%>/<%=bioAssaySetId%>.servlet</argument>
126  </application-desc>
127</jnlp>
Note: See TracBrowser for help on using the repository browser.