Hi,
I was wondering why issue http://jira.codehaus.org/browse/MWEBSTART-8
was closed with resolution Incomplete. I am using jdic and herefor i
would like the webstart-plugin to filter the native jars in seperate
resources tags :
<resources>
<j2se version="1.4+"/>
<jar href="jdic.jar"/>
</resources>
<resources os="Windows">
<nativelib href="jdic-native-windows.jar"/>
</resources>
<resources os="SunOS">
<nativelib href="jdic-native-sunos.jar"/>
</resources>
<resources os="Linux">
<nativelib href="jdic-native-linux.jar"/>
</resources>
At the moment my collegue made a custom build of the webstart-plugin
that allows me to specify the native libs and this results in the following:
<resources>
<jar href="jdic.jar"/>
<nativelib href="jdic-native-windows.jar"/>
<nativelib href="jdic-native-linux.jar"/>
</resources>
to get this we use next configuration (this works because of our custom
build!!!!) :
<jnlp>
<resources>${project.basedir}/src/jnlp</resources>
<inputTemplate>src/jnlp/template.vm</inputTemplate>
<mainClass>${app.main.class}</mainClass>
<outputFile>digidoc.jnlp</outputFile>
<nativeDependencies>
<nativeDependency>
<groupId>org.jdesktop</groupId>
<artifactId>jdic-native-windows</artifactId>
</nativeDependency>
<nativeDependency>
<groupId>org.jdesktop</groupId>
<artifactId>jdic-native-linux</artifactId>
</nativeDependency>
</nativeDependencies>
</jnlp>
For jdic it is better to have seperate resources per os because
otherwise i can't combine sunos en linux because in those jars are files
with the same name and that would result in an error. Also i don't find
it necessary to download the resources for linux if one is using windows
(i hope webstart does this).
Could the issue be reopend and fixed??
Grtz,
Bart
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email