https://bz.apache.org/bugzilla/show_bug.cgi?id=61649

--- Comment #15 from [email protected] ---
Hi,

if we leave the rel line uncomment, when we try our command line ( with or
without backslashed) 

For these commands
../build.sh installapp -Dwsadmin.extra.args="-javaoption -Xmx1024m -appendtrace
true" --execdebug
../build.sh installapp -Dwsadmin.extra.args=\"-javaoption -Xmx1024m
-appendtrace true\" --execdebug


the build fails right away and it shows this:


TEST - Invoking /build.sh
exec "$JAVACMD" -Xmx1400m -Dcmp.maxmemory=1400m -classpath "$LOCALCLASSPATH"
-Dant.home="$ANT_HOME" -Dant.library.dir="$ANT_LIB" 
org.apache.tools.ant.launch.Launcher  -cp "$CLASSPATH"  "-f" "./build.xml"
"-Dprp.noninternedstrings=true" "installapp" "-Dwsadmin.extra.args=-javaoption"
"-Xmx1024m" "-appendtrace" "true"
Unknown argument: -Xmx1024m
ant [options] [target [target2 [target3] ...]]
Options: 
  -help, -h              print this message and exit
  -projecthelp, -p       print project help information and exit
  -version               print the version information and exit
  -diagnostics           print information that might be helpful to
                         diagnose or report problems and exit
  -quiet, -q             be extra quiet
  -silent, -S            print nothing but task outputs and build failures
  -verbose, -v           be extra verbose
  -debug, -d             print debugging information
  -emacs, -e             produce logging information without adornments
  -lib <path>            specifies a path to search for jars and classes
  -logfile <file>        use given file for log
    -l     <file>                ''
  -logger <classname>    the class which is to perform logging
  -listener <classname>  add an instance of class as a project listener
  -noinput               do not allow interactive input
  -buildfile <file>      use given buildfile
    -file    <file>              ''
    -f       <file>              ''
  -D<property>=<value>   use value for given property
  -keep-going, -k        execute all targets that do not depend
                         on failed target(s)
  -propertyfile <name>   load all properties from file with -D
                         properties taking precedence
  -inputhandler <class>  the class which will handle input requests
  -find <file>           (s)earch for buildfile towards the root of
    -s  <file>           the filesystem and use it
  -nice  number          A niceness value for the main thread:                 
       1 (lowest) to 10 (highest); 5 is the default
  -nouserlib             Run ant without using the jar files from              
          ${user.home}/.ant/lib
  -noclasspath           Run ant without using CLASSPATH
  -autoproxy             Java1.5+: use the OS proxy settings
  -main <class>          override Ant's normal entry point

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to