You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/05/28 06:35:39 UTC

DO NOT REPLY [Bug 20286] New: - All ant commands get "java" usage help.

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

All ant commands get "java" usage help.

           Summary: All ant commands get "java" usage help.
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: eholmes2@cox.net


C:\eBuilt2\sagph>dir
 Volume in drive C has no label.
 Volume Serial Number is 181D-6787

 Directory of C:\eBuilt2\sagph

05/21/2003  05:43 PM    <DIR>          .
05/21/2003  05:43 PM    <DIR>          ..
05/20/2003  08:09 PM                47 .cvspass
05/27/2003  08:30 PM               364 build.properties
05/01/2003  07:09 PM             7,433 build.xml
05/07/2003  01:11 PM        16,829,091 deploy.tar.gz
05/20/2003  07:04 PM    <DIR>          doc
05/20/2003  07:04 PM    <DIR>          ebcc
05/20/2003  10:05 AM    <DIR>          lib
05/20/2003  07:05 PM    <DIR>          portalApp
05/01/2003  01:02 PM               460 README.txt
05/20/2003  08:18 PM    <DIR>          sagph
05/20/2003  07:05 PM    <DIR>          search
05/20/2003  07:05 PM    <DIR>          src
05/20/2003  07:05 PM    <DIR>          web
               5 File(s)     16,837,395 bytes
              10 Dir(s)  49,711,734,784 bytes free
C:\eBuilt2\sagph>ant deploy
Usage: java [-options] class [args...]
           (to execute a class)
   or  java -jar [-options] jarfile [args...]
           (to execute a jar file)

where options include:
    -client       to select the "client" VM
    -server       to select the "server" VM
    -hotspot      is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp -classpath <directories and zip/jar files separated by ;>
                  set search path for application classes and resources
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -showversion  print product version and continue
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
C:\eBuilt2\sagph>ant 
Usage: java [-options] class [args...]
           (to execute a class)
   or  java -jar [-options] jarfile [args...]
           (to execute a jar file)

where options include:
    -client       to select the "client" VM
    -server       to select the "server" VM
    -hotspot      is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp -classpath <directories and zip/jar files separated by ;>
                  set search path for application classes and resources
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -showversion  print product version and continue
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions