You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/06/17 01:12:59 UTC
DO NOT REPLY [Bug 36958] -noclasspath should be the default
https://issues.apache.org/bugzilla/show_bug.cgi?id=36958
--- Comment #11 from Len Trigg <le...@gmail.com> 2009-06-16 16:12:57 PST ---
>From a co-worker today:
[stuart@k2 cartesian]$ ant
Buildfile: build.xml
init:
compile-src:
[javac] Compiling 378 source files to /home/stuart/cartesian/build.tmp/src
[javac] javac: invalid flag: -Xlint
[javac] Usage: javac <options> <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler
is doing
[javac] -deprecation Output source locations where
deprecated APIs are used
[javac] -classpath <path> Specify where to find user class files
[javac] -sourcepath <path> Specify where to find input source
files
[javac] -bootclasspath <path> Override location of bootstrap class
files
[javac] -extdirs <dirs> Override location of installed
extensions
[javac] -d <directory> Specify where to place generated class
files
[javac] -encoding <encoding> Specify character encoding used by
source files
[javac] -source <release> Provide source compatibility with
specified release
[javac] -target <release> Generate class files for specific VM
version
[javac] -help Print a synopsis of standard options
[javac]
BUILD FAILED
/home/stuart/cartesian/build.xml:80: Compile failed; see the compiler error
output for details.
Total time: 2 seconds
[stuart@k2 cartesian]$ ant -noclasspath
Buildfile: build.xml
init:
compile-src:
[javac] Compiling 378 source files to /home/stuart/cartesian/build.tmp/src
BUILD SUCCESSFUL
Total time: 8 seconds
The errors that arise due to this bug are just bizarre!
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.