DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5307>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5307

java task: JVM mode cannot be changed while using the jar attribute





------- Additional Comments From [EMAIL PROTECTED]  2002-02-02 06:09 -------
I notice a strange comment/piece of code in CommandlineJava.java.  This is the
cause of this problem:

// -jar must be the first option in the command line.
if (executeJar){
    result[pos++] = "-jar";
}

Who ever said -jar must be the first option in the command line??  

This link clearly states the *real* rules...
http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/java.html#-jar

It says java [ options ] -jar file.jar [ argument ... ]
             ^^^^^^^^^^^

I will wait for a day or two to hear back, before I apply a patch.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to