Thomas Dumm wrote:
>  
> Is there a command, that lauches XMLmind Java Webstart with the xml-file
> supplied to the launch command?
>  
> Something like "javaws xxe.jnlp sample.xml"
>  

Not to my knowledge.

However you can create a (Perl, Python, Tcl, Ruby) script that does this:

[1] Copy xxe.jnlp to /tmp/xxe2.jnlp

[2] Modify /tmp/xxe2.jnlp to pass sample.xml (after converting it to an
absolute URL) as an argument to XXE. See
---
      <application-desc main-class="Main">
        <argument>arg1</argument>
        <argument>arg2</argument>
      </application-desc>
---
in
http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#application_desc

[3] Invoke javaws /tmp/xxe2.jnlp.


---
PS: Warning: Java Web Start[tm] has been broken by Sun in the 1.5.0_15+
releases. Please use older or, on the contrary, more recent versions of
Java on the machine running XXE.











Reply via email to