MPJNLP-2. Add extension support.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116005 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
evenisse committed 2004-08-26 11:42:26 +00:00
1 parent 2b0165eab5
commit 02e0c9221d
4 files changed
+54 -1

No files matched your search

+10
View File
@@ -161,6 +161,16 @@
<j:if test="${dep.getProperty('jnlp.native.jar')=='true'}">
<nativelib href="${lib.file.name}"/>
</j:if>
<j:if test="${dep.getProperty('jnlp.extension.jnlp')!= null}">
<j:choose>
<j:when test="${dep.getProperty('jnlp.extension.site')!= null})">
<extension name="${lib.file.name}" href="http://${dep.getProperty('jnlp.extension.site')}/${dep.getProperty('jnlp.extension.dir')}/${dep.getProperty('jnlp.extension.jnlp')}"/>
</j:when>
<j:otherwise>
<extension name="${lib.file.name}" href="${dep.getProperty('jnlp.extension.dir')}/${dep.getProperty('jnlp.extension.jnlp')}"/>
</j:otherwise>
</j:choose>
</j:if>
</j:forEach>
<j:set var="depVer" value="${pom.currentVersion}"/>
<j:if test="${context.getVariable('maven.jnlp.cert.version') != null}">
+8
View File
@@ -53,6 +53,14 @@
</roles>
</developer>
</developers>
<contributors>
<contributor>
<name>Martin Skopp</name>
<email>skopp@riege.de</email>
<organization>Riege Software International</organization>
<timezone>+1</timezone>
</contributor>
</contributors>
<dependencies/>
<versions>
<version>
+1
View File
@@ -26,6 +26,7 @@
</properties>
<body>
<release version="1.4.1-SNAPSHOT" date="in CVS">
<action dev="evenisse" type="add" issue="MPJNLP-2">Add extension support.</action>
<action dev="dion" type="fix" issue="MPJNLP-13">Fix bad signed jar name</action>
</release>
<release version="1.4" date="2004-07-12">
+35 -1
View File
@@ -312,7 +312,7 @@
</section>
<section name="Keystore settings">
<table>
<tr><th>Property</th><th>Description</th><th>See</th></tr>
<tr><th>Property</th><th>Optional?</th><th>Description</th><th>Default</th></tr>
<tr>
<td>maven.jnlp.signjar.store</td>
<td>Yes</td>
@@ -439,6 +439,40 @@
</properties>
</dependency>
]]></source>
<p>
Or for using JNLP extension mechanism :
</p>
<source><![CDATA[
<dependency>
<id>jarid</id>
<version>jarversion</version>
<properties>
<jnlp.extension.site>hostname</jnlp.extension.site>
<jnlp.extension.dir>directory</jnlp.extension.dir>
<jnlp.extension.jnlp>jnlp-filename</jnlp.extension.jnlp>
</properties>
</dependency>
]]></source>
<p>
The JNLP extension mechanism is useful e.g. as a workaround when
JAR files signed by different certificates are used, see
<a href="http://java.sun.com/products/javawebstart/faq.html#72">Java Webstart FAQ, How do I use JAR files that are signed by different certificates?)</a>.
</p>
<p>
When using JNLP extension feature, <tt>jnlp.extension.site</tt>
must not contain URL prefix - "http://" is the only protocol
supported now.
Property <tt>jnlp.extension.site</tt> is a optional, if omited
a relative URL is constructed from <tt>jnlp.extension.dir</tt>
and <tt>jnlp.extension.jnlp</tt>. If JNLP file is stored in
the same directory as the generated JNLP file and one likes
to avoid absolute pathnames, one should use "." as value for
<tt>jnlp.extension.dir</tt>.
</p>
</section>
<section name="How to define the main jar?">
<p>