You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ev...@apache.org on 2003/06/29 11:28:11 UTC
cvs commit: maven/src/plugins-build/jnlp/xdocs changes.xml properties.xml
evenisse 2003/06/29 02:28:11
Modified: src/plugins-build/jnlp plugin.jelly project.xml
src/plugins-build/jnlp/xdocs changes.xml properties.xml
Log:
Fix generated jnlp file. We use now the correct tag for argument main class.
Sysproperty isn't in jnlp dtd.
Revision Changes Path
1.10 +2 -2 maven/src/plugins-build/jnlp/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/jnlp/plugin.jelly,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- plugin.jelly 24 Apr 2003 13:41:31 -0000 1.9
+++ plugin.jelly 29 Jun 2003 09:28:11 -0000 1.10
@@ -121,7 +121,7 @@
<applet-desc main-class="${maven.jnlp.mainclass}" name="${maven.jnlp.applet.name}">
<u:tokenize var="listOfArguments" delim=" ">${maven.jnlp.mainclass.arguments}</u:tokenize>
<j:forEach var="someArgument" items="${listOfArguments}">
- <sysproperty key="${someArgument}" value="${context.getVariable(someArgument)}"/>
+ <argument>${someArgument}</argument>
</j:forEach>
</applet-desc>
</j:when>
@@ -135,7 +135,7 @@
<application-desc main-class="${maven.jnlp.mainclass}">
<u:tokenize var="listOfArguments" delim=" ">${maven.jnlp.mainclass.arguments}</u:tokenize>
<j:forEach var="someArgument" items="${listOfArguments}">
- <sysproperty key="${someArgument}" value="${context.getVariable(someArgument)}"/>
+ <argument>${someArgument}</argument>
</j:forEach>
</application-desc>
</j:otherwise>
1.10 +1 -1 maven/src/plugins-build/jnlp/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/jnlp/project.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- project.xml 24 Apr 2003 13:06:22 -0000 1.9
+++ project.xml 29 Jun 2003 09:28:11 -0000 1.10
@@ -5,7 +5,7 @@
<pomVersion>3</pomVersion>
<id>maven-jnlp-plugin</id>
<name>Maven JNLP Plug-in</name>
- <currentVersion>1.1</currentVersion>
+ <currentVersion>1.2-SNAPSHOT</currentVersion>
<shortDescription>JNLP Plugin for Maven</shortDescription>
<url>http://maven.apache.org/reference/plugins/jnlp/</url>
<siteDirectory>/www/maven.apache.org/reference/plugins/jnlp/</siteDirectory>
1.2 +6 -0 maven/src/plugins-build/jnlp/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/jnlp/xdocs/changes.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- changes.xml 24 Apr 2003 13:06:22 -0000 1.1
+++ changes.xml 29 Jun 2003 09:28:11 -0000 1.2
@@ -3,9 +3,15 @@
<properties>
<title>Changes</title>
<author email="dion@multitask.com.au">dIon Gillard</author>
+ <author email="evenisse@ifrance.com">Emmanuel Venisse</author>
</properties>
<body>
+ <release version="1.2" date="in CVS">
+ <action dev="evenisse" type="fix">
+ Fix generated jnlp file. We use now argument tag instead of sysproperty tag.
+ </action>
+ </release>
<release version="1.1" date="in CVS">
<action dev="evenisse" type="add" due-to="Dominique Collette">
Add the possibility to choose the main jar.
1.5 +8 -0 maven/src/plugins-build/jnlp/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/jnlp/xdocs/properties.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- properties.xml 24 Apr 2003 13:06:22 -0000 1.4
+++ properties.xml 29 Jun 2003 09:28:11 -0000 1.5
@@ -238,6 +238,14 @@
</td>
<td></td>
</tr>
+ <tr>
+ <td>maven.jnlp.mainclass.arguments</td>
+ <td>Yes</td>
+ <td>
+ The argument list for the main class. All arguments are separated by a space.
+ </td>
+ <td></td>
+ </tr>
</table>
</section>
<section name="Keystore settings">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org