ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16260] New: - ant shell script should put ANT_OPTS at start of command line
Date Mon, 20 Jan 2003 15:40:05 GMT
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: ant-dev@jakarta.apache.org
        ReportedBy: duncan@sapio.co.uk


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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message