Author: mes
Date: 2010-08-04 16:44:25 -0700 (Wed, 04 Aug 2010)
New Revision: 21210

Added:
   cytoscape/trunk/webstart/README.txt
Modified:
   cytoscape/trunk/webstart/pom.xml
   cytoscape/trunk/webstart/src/main/jnlp/template.vm
Log:
got things working

Added: cytoscape/trunk/webstart/README.txt
===================================================================
--- cytoscape/trunk/webstart/README.txt                         (rev 0)
+++ cytoscape/trunk/webstart/README.txt 2010-08-04 23:44:25 UTC (rev 21210)
@@ -0,0 +1,8 @@
+
+This project generates a JNLP file and associated jars suitable for running
+Cytoscape as a webstart. To generate things run:
+
+       mvn webstart:jnlp-inline -Dwebstart.url=http://example.com
+
+Note that the "-Dwebstart.url=http://example.com"; argument is manadatory to 
+provide the jnlp file with a codebase.

Modified: cytoscape/trunk/webstart/pom.xml
===================================================================
--- cytoscape/trunk/webstart/pom.xml    2010-08-04 23:18:25 UTC (rev 21209)
+++ cytoscape/trunk/webstart/pom.xml    2010-08-04 23:44:25 UTC (rev 21210)
@@ -10,6 +10,9 @@
   <packaging>pom</packaging>
   <name>Cytoscape Webstart</name>
 
+  <!-- This is the url is used to define the codebase of the jnlp file. -->
+  <url>${webstart.url}</url>
+
   <build>
     <plugins>
       <plugin>
@@ -24,18 +27,15 @@
           </execution>
         </executions>
         <configuration>
-
           <excludeTransitive>true</excludeTransitive>
-
           
<resourcesDirectory>${project.basedir}/src/main/resources</resourcesDirectory>
-
+                 <libPath>lib</libPath>
           <jnlp>
             
<inputTemplateResourcePath>${project.basedir}/src/main/jnlp</inputTemplateResourcePath>
             <inputTemplate>template.vm</inputTemplate>
             <outputFile>cytoscape.jnlp</outputFile>
             <mainClass>cytoscape.CyMain</mainClass>
           </jnlp>
-
           <!-- 
             If this is your first time using Webstart you must create a 
keystore:
             keytool -genkey -alias cytoscape -keypass secret
@@ -48,7 +48,6 @@
             <alias>cytoscape</alias>
             <verify>true</verify>
           </sign>
-
           <verbose>true</verbose>
         </configuration>
       </plugin>

Modified: cytoscape/trunk/webstart/src/main/jnlp/template.vm
===================================================================
--- cytoscape/trunk/webstart/src/main/jnlp/template.vm  2010-08-04 23:18:25 UTC 
(rev 21209)
+++ cytoscape/trunk/webstart/src/main/jnlp/template.vm  2010-08-04 23:44:25 UTC 
(rev 21210)
@@ -1,8 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<jnlp
-    spec="$jnlpspec"
-    codebase="$project.Url"
-    href="$outputFile">
+<jnlp codebase="$project.Url" href="$outputFile">
   <information>
     <title>Cytoscape</title>
     <vendor>Cytoscape Consortium</vendor>

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to