|Re: WebStart with Scout [message #683829 is a reply to message #677528]
||Tue, 14 June 2011 09:31
| Ivan Motsch
Registered: March 2010
>> (fyi, I googled, check the FAQ, wiki and forum before i asked) |
Thanks for your post, i would also have answered if you asked directly:)
Basically a scout application is no different from other eclipse rcp swt/swing apps.
Therefore you may follow the steps at http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/java_web_start.htm
1. Create a feature containing all plugins of your application and export that feature with the "webstart" checkbox enabled in the export wizard. Also enabled the "sign jars" checkbox and use a keystore containing for example a self-signed certificate.
This will then also create a *.jnlp file that has the same name as the feature and is in the feature folder (must be unpacked).
Note that the new feature wizard allows to give it an existing product config and it will use that plugin list.
2. create the top-level main jnlp file with a reference to the eclipse launch plugin (dont forget that one in the feature).
3. for every entry in your app's config.ini file add a
<property name="..." value="..."/> to the jnlp.
<property name="eclipse.product" value="com.bsiag.crm.ui.swing.core.product"/>
Now you are done. For simple testing i normally use a file url so i do not have to setup an app server.
Powered by FUDForum
. Page generated in 0.01992 seconds