Automatically Create Root JNLP files? [message #524761] |
Fri, 02 April 2010 11:25 |
TJ Willis Messages: 4 Registered: March 2010 |
Junior Member |
|
|
I'm successfully exporting a webstart feature to multiple platforms. I found that, in the export wizard, setting "Site URL" to " http://morselab.sourceforge.net/${target.ws}.${target.os}.${ target.arch}/" saves me from editing a dozen Feature...jnlp files after the export.
The remaining item to automate is the generation of root jnlp files. Ideally, I'd like to provide a .jnlp file, have two sets of variables substituted, and have the resulting file included in the root directory for each product. The two lines I'd like to make substitutions on would be like:
...
<jnlp spec="1.0+" codebase="http://morselab.sourceforge.net/${target.ws}.${target.os}.${target.arch}/" href="morselab.jnlp" >
...
<extension name="Wrapper feature" href="features/MorseLab_Feature_${MorseLab.1.0.0.qualifier}.jnlp"/>
...
I'm not quire sure how to do this. Is there an Ant file I can hack somewhere? Is installing Buckminster a better approach?
[Updated on: Sat, 03 April 2010 14:13] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03833 seconds