
Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
>> <target name="run" depends="dist">
>> <apply executable="javaws">
[quoted text clipped - 9 lines]
> </exec>
> </target>
Well I had tried this, I was trying to leave off the .exe in hope it
would work on OS's other than *doze. Anyway, here are the things I
tried, all of which give the same result:
<target name="run" depends="dist">
<apply executable="javaws.exe" dir="${run.dir}">
<arg value="${run.dir}/index.jnlp"/>
</apply>
</target>
********************
<target name="run" depends="dist">
<apply executable="javaws.exe">
<arg value="${run.dir}/index.jnlp"/>
</apply>
</target>
********************
<target name="run" depends="dist">
<apply executable="C:\Program Files\Java\jre1.6.0\bin\javaws.exe">
<arg value="${run.dir}/index.jnlp"/>
</apply>
</target>
*********************
<target name="run" depends="dist">
<apply executable="C:\Program Files\Java\jre1.6.0\bin\javaws.exe"
dir="${run.dir}">
<arg value="${run.dir}/index.jnlp"/>
</apply>
</target>
> <apply is for system commands, like DIR -- commands for the command
> interpreter.
Yeap, was hoping it would work for launching a JWS app also as I don't
see a task for this.
Any other ways of doing what I'm attempting are welcomed. Except of
course double clicking the jnlp file :).
Thanks
Lionel.