Fix generated jnlp file. We use now the correct tag for argument main class.

Sysproperty isn't in jnlp dtd.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113540 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
evenisse
2003-06-29 09:28:11 +00:00
parent 275d4e9de4
commit 7870c16e79
4 changed files with 17 additions and 3 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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.

View File

@@ -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">