source: extensions/net.sf.basedb.mev/trunk/resources/mev_jnlp.jsp @ 1083

Last change on this file since 1083 was 1083, checked in by Nicklas Nordborg, 14 years ago

References #212: Add support for exporting CGH data to MeV

I have changed the GUI a bit to make sure that it can handle both CGH and TDMS files. It is now also possible to generate a new export file directly from the MeV button.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 4.4 KB
Line 
1<%-- $Id: mev_jnlp.jsp 1083 2009-05-18 12:19:18Z 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 fileType = Values.getString(request.getParameter("filetype"));
43final String mevFileType = "mev.cgh".equals(fileType) ? "cgh" : "tdms";
44final String scheme = request.getScheme();
45final String serverName = request.getServerName();
46final int serverPort = request.getServerPort();
47final String homeUrl = ExtensionsControl.getHomeUrl("net.sf.basedb.mev.launchmev");
48final String fullHomeUrl = scheme + "://" + serverName + ":" + serverPort + homeUrl;
49final int jvmMaxMemory = Values.getInt(sc.getUserClientSetting("net.sf.basedb.mev.launchmev.jvm.maxmemory"), 512);
50out.clearBuffer();
51%><?xml version="1.0" encoding="UTF-8"?>
52<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc.//DTD JNLP 1.5//EN" "http://www.netbeans.org/jnlp/DTD/jnlp.dtd">
53<jnlp spec="1.0+"
54  codebase="<%=fullHomeUrl%>/jar"
55  version="4.3.02">
56
57  <information>
58    <title>MeV: MultiExperiment Viewer</title>
59    <vendor>http://www.tm4.org</vendor>
60    <homepage href="http://www.tm4.org"/>
61  </information>
62
63  <security>
64    <all-permissions/>
65  </security>
66
67  <resources>
68    <jar href="mev-base.jar"/> <!-- must be first since main class is here -->
69    <jar href="mev-algorithm-impl.jar"/>
70    <jar href="mev-algorithm-support.jar"/>
71    <jar href="mev-gui-impl.jar"/>
72    <jar href="mev-gui-support.jar"/>
73    <jar href="mev-util.jar"/>
74
75    <jar href="args4j-2.0.9.jar"/>
76    <jar href="base64.jar"/>
77    <jar href="colt.jar"/>
78    <jar href="comcgh.jar"/>
79    <jar href="commons-net-1.4.1.jar"/>
80    <jar href="dialogHelp.jar"/>
81    <jar href="educgh.jar"/>
82    <jar href="ftpbean.jar"/>
83    <jar href="HTTPClient.jar"/>
84    <jar href="images.jar"/>
85    <jar href="j3daudio.jar"/>
86    <jar href="j3dcore.jar"/>
87    <jar href="j3dutils.jar"/>
88    <jar href="jai_codec.jar"/>
89    <jar href="jai_core.jar"/>
90    <jar href="jama.jar"/>
91    <jar href="jaxp.jar"/>
92    <jar href="jbcl.jar"/>
93    <jar href="jconn2.jar"/>
94    <jar href="jdom-1.0.jar"/>
95    <jar href="jfreechart-0.9.20.jar"/>
96    <jar href="jfreechart-common-0.9.5.jar"/>
97    <jar href="jsch-0.1.39.jar"/>
98    <jar href="JSciCore.jar"/>
99    <jar href="JSciPartial.jar"/>
100    <jar href="normalization.jar"/>
101    <jar href="piccolo.jar"/>
102    <jar href="piccolox.jar"/>
103    <jar href="servlet.jar"/>
104    <jar href="soap.jar"/>
105    <jar href="swing-layout-1.0.1.jar"/>
106    <jar href="swingx-2006_10_27.jar"/>
107    <jar href="tar.jar"/>
108    <jar href="Text_JDBC30.jar"/>
109    <jar href="vecmath.jar"/>
110    <jar href="weka.jar"/>
111    <jar href="xerces.jar"/>
112    <jar href="xml-apis.jar"/>
113   
114    <extension name="mail" href="../others.jsp?mail"/>
115    <extension name="goose" href="../others.jsp?goose"/>
116   
117    <j2se version="1.5.0+"
118        max-heap-size="<%=jvmMaxMemory%>M"
119        href="http://java.sun.com/products/autodl/j2se"
120      />
121  </resources>
122 
123  <application-desc main-class="org.tigr.microarray.mev.TMEV">
124    <argument>-fileType</argument>
125    <argument><%=mevFileType%></argument>
126    <argument>-fileUrl</argument>
127    <argument><%=fullHomeUrl%>/MevExport/<%=ID%>/<%=bioAssaySetId%>/<%=fileType%>.servlet</argument>
128  </application-desc>
129</jnlp>
Note: See TracBrowser for help on using the repository browser.