[back on user list]
On 4/11/07, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
Hi,
me again :) It does not seem to work. I have added a property to my
settings.xml, but the $property.webstart_codebase is not replaced in the
final jnlp file.
This is my settings.xml:
<settings>
<profiles>
<profile>
<id>staging</id>
<properties>
<webstart.keypass>xxx</webstart.keypass>
<webstart.storepass >xxx</webstart.storepass>
<webstart.workDirectory>${project.build.directory
}/staging/shell.sourceforge.net/home/groups/v/vi/vigilog/htdocs/jnlp</webstart.workDirectory>
<!-- cannot use . here because velocity would complain -->
<webstart_codebase>http://vigilog.sourceforge.net/staging/jnlp
</webstart_codebase>
</properties>
</profile>
<activeProfiles>
<activeProfile>staging</activeProfile>
</activeProfiles>
</profiles>
</settings>
And this is my template.vm:
<?xml version=" 1.0" encoding="utf-8"?>
<jnlp
codebase="$property.webstart_codebase"
try using $webstart_codebase instead
https://svn.codehaus.org/mojo/trunk/mojo/webstart-maven-plugin/plugin/src/main/java/org/codehaus/mojo/webstart/generator/Generator.java
Feel free to send a patch for the howto.apt if you find the documentation
not explicit enough.
J