Hi,
I'm using
Ant to create my JNLP file since the jars listed
in the JNLP file are auto listed based on what is found in
a directory. My problem is I am having a conflict between
the jnlp.jar file and another jar file so I want to list it last.
A section of my build is as follows:
<resources os="Windows" arch="x86">
<j2se version="1.4"/>
<jar href="lib/client.jar"/>
<fileset dir="${stage.dir}"
includes="lib/**/*.jar"
excludes="lib/client.jar lib/jnlp.jar"/>
<jar href="lib/jnlp.jar"/>
</resources>
I exclude client.jar too since it must be listed first since contains the
main code.
The result is:
<resources os="Windows" arch="x86">
<j2se version="1.4"/>
<jar href="lib/client.jar"/>
<jar href="lib/jnlp.jar"/>
<jar href="lib/jar1.jar"/>
<jar href="lib/jar2.jar"/>
</resources>
I was hoping based on where I placed the the hardcoded href that the
jnlp.jar file would be listed last to prevent the conflict. Is there
any way to force the order of how they are listed short of hardcoding
all the jars?
Thanks,
Steve