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=16260>.
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=16260

ant shell script should put ANT_OPTS at start of command line

           Summary: ant shell script should put ANT_OPTS at start of command
                    line
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Some JVMs require certain options to go at the start of the command line.
Using the 1.5.1 ant script it is impossible to change these options because
the ANT_OPTS var is after the classpath on the java command line.

I am building on SGI UNIX (IRIX). Example output showing options:

> java -help
Usage: java [thread options] [other options] class [args...]
           (to execute a class)
   or  java -jar [ABI/thread options] [other options] jarfile [args...]
           (to execute a jar file)

Thread package options:
    -native           use POSIX threads (default)
    -green            use "green threads" (only with classic VM)

other options:
    -classic      to select the "classic" VM
    -client       to select the "client" VM
    -hotspot      to select the "hotspot" VM
                  If present, the option to select the VM must be first.
                  The default VM is -classic.

So in this case we cannot set -hotspot or -client for ant.

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

Reply via email to