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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user