Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Automatically Create Root JNLP files?
Automatically Create Root JNLP files? [message #524761] Fri, 02 April 2010 07:25 Go to next message
Eclipse UserFriend
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 10:13] by Moderator

Re: Automatically Create Root JNLP files? [message #524910 is a reply to message #524761] Sat, 03 April 2010 20:25 Go to previous message
Eclipse UserFriend
I ended up writing an ant task and a template file and just run it after feature export. This also fixes the codebases in the feature/*.jnlp files. Cheers.
Previous Topic:Preview for Composite Objects
Next Topic:Help view not restored after resetting perspective
Goto Forum:
  


Current Time: Tue Jun 24 19:01:44 EDT 2025

Powered by FUDForum. Page generated in 0.06370 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top