> Andrew Thompson a écrit :
...
> >> With "Java Web Start", I can associate a custom file type with a Java
> >> application ...
..
> > OTOH, I think it is premature to make any
> > definitive statements without a validation of
> > your JNLP file
*
> > Also, I have my very own example of usage
> > of the JNLP API file associations, it is
[quoted text clipped - 4 lines]
> > It is here..
> > <http://www.physci.org/jws/#fs>
..
> I have tested filetest.jnlp (http://www.physci.org/jws/filetest.jnlp) on
> os X and it give the following result : When a *.zzz file is double
> clicked, the program is started but the file itself isn't opened.
:-( Thanks for the result. I take it, it works for you on Win.?
> However, when "Java Web Start" application is launched from shell (on
> Max.) with proper arguments , it behaves as expected. For example the
[quoted text clipped - 3 lines]
>
> will start filetest application and display test.zzz file.
That is good to know..
> Maybe the problem relies on the "*.app" "shortcut" which is created by
> "Java Web Start". A workaround could be to associate *.zzz file to a
> script which launch "Java Web Start" with proper arguments.
OK - but that is hardly as good as 'having webstart
do it for us/the user - without further fuss'.
> Here is my jnlp file for validation :
* It is good you posted it, even to my eye it is
not valid, and once you have an invalid JNLP
file, you can rely on nothing beyond that..
> <!-- JNLP File for STM Image Processor -->
...
> <resources os="Mac">
> <j2se version="1.5+" initial-heap-size="256m" max-heap-size="512m"/>
> </ressources>
<!-- spell it correctly -->
</resources>
> <resources os="Win">
> <j2se version="1.6+" initial-heap-size="256m" max-heap-size="512m"/>
> </ressources>
<!-- spell it correctly -->
</resources>
> <application-desc main-class="imgproc.ImgProcessor"/>
> </jnlp>
Andrew T.
Daniel Pitts - 31 Jan 2007 18:42 GMT
> > Andrew Thompson a écrit :
> > <!-- JNLP File for STM Image Processor -->
[quoted text clipped - 17 lines]
>
> Andrew T.
Spelling is for wusses :-)
j/k. That could certainly screw up an xml parser :-)
laurent - 01 Feb 2007 08:20 GMT
Andrew Thompson a écrit :
>> I have tested filetest.jnlp (http://www.physci.org/jws/filetest.jnlp) on
>> os X and it give the following result : When a *.zzz file is double
>> clicked, the program is started but the file itself isn't opened.
>
> :-( Thanks for the result. I take it, it works for you on Win.?
Yes, it works for me on Win.
>> However, when "Java Web Start" application is launched from shell (on
>> Max.) with proper arguments , it behaves as expected. For example the
[quoted text clipped - 39 lines]
>
> Andrew T.
Tanks for the corrections
Laurent C.
Andrew Thompson - 01 Feb 2007 08:38 GMT
> Andrew Thompson a écrit :
>
> >> I have tested filetest.jnlp (http://www.physci.org/jws/filetest.jnlp) on
> >> os X
..
> > ...I take it, it works for you on Win.?
>
> Yes, it works for me on Win.
Thanks for confirming.
..
> >> <resources os="Win">
> >> <j2se version="1.6+" initial-heap-size="256m" max-heap-size="512m"/>
> >> </ressources>
>
> > <!-- spell it correctly -->
> > </resources>
..
> Tanks for the corrections
No worries. But note that 100 eyes as good
as mine, are not worth one validation against
the DTD.
Andrew T.