Changeset 1015


Ignore:
Timestamp:
Mar 31, 2009, 9:03:41 AM (12 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #193: Use one JNLP file for each pre-signed JAR file

Location:
extensions/net.sf.basedb.mev/trunk/resources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.mev/trunk/resources/launch_mev.jsp

    r995 r1015  
    4848%><?xml version="1.0" encoding="UTF-8"?>
    4949<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc.//DTD JNLP 1.5//EN" "http://www.netbeans.org/jnlp/DTD/jnlp.dtd">
    50 <jnlp spec="1.0"
     50<jnlp spec="1.0+"
    5151  codebase="<%=fullHomeUrl%>/jar"
    52   version="4.0">
     52  version="4.3.02">
    5353
    5454  <information>
     
    7878    <jar href="educgh.jar"/>
    7979    <jar href="ftpbean.jar"/>
    80     <!--jar href="goose.jar"/> -->
    8180    <jar href="HTTPClient.jar"/>
    8281    <jar href="images.jar"/>
     
    9695    <jar href="JSciCore.jar"/>
    9796    <jar href="JSciPartial.jar"/>
    98     <!--jar href="mail.jar"/> -->
    9997    <jar href="normalization.jar"/>
    10098    <jar href="piccolo.jar"/>
     
    111109    <jar href="xml-apis.jar"/>
    112110   
    113     <extension name="others" href="../others.jsp"/>
     111    <extension name="mail" href="../others.jsp?mail"/>
     112    <extension name="goose" href="../others.jsp?goose"/>
    114113   
    115114    <j2se version="1.5.0+"
  • extensions/net.sf.basedb.mev/trunk/resources/others.jsp

    r995 r1015  
    3333response.setHeader("Expires", "0");
    3434final String scheme = request.getScheme();
     35/*
     36  Can't have .jar in query string since it makes Linux java
     37  think the jnlp file is a jar file.
     38*/
     39final String jar = request.getQueryString() + ".jar";
    3540final String serverName = request.getServerName();
    3641final int serverPort = request.getServerPort();
     
    4146<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc.//DTD JNLP 1.5//EN" "http://www.netbeans.org/jnlp/DTD/jnlp.dtd">
    4247<jnlp
    43   spec="1.0"
     48  spec="1.0+"
    4449  codebase="<%=fullHomeUrl%>/jar"
    45   version="4.0">
     50  version="4.3.02"
     51  >
    4652  <information>
    4753    <title>MeV: MultiExperiment Viewer</title>
     
    5056  </information>
    5157  <resources>
    52     <jar href="mail.jar" />
    53     <jar href="goose.jar" />
     58    <jar href="<%=jar%>" />
    5459  </resources>
    5560  <component-desc/>
Note: See TracChangeset for help on using the changeset viewer.