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 32012] - JavaC task seems to produce invalid switches to javac command
Date Tue, 02 Nov 2004 15:23:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32012>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32012

JavaC task seems to produce invalid switches to javac command





------- Additional Comments From jax@well.com  2004-11-02 15:23 -------
[08:15:22 jax@mitra:~]$ ls -l `which java`
-r-xr-xr-x    1 root     other       38468 Apr 13  2004 /usr/java/bin/java
[08:15:34 jax@mitra:~]$ ls -l `which javac`
-r-xr-xr-x    1 root     other       28576 Apr 13  2004 /usr/java/bin/javac
[08:15:39 jax@mitra:~]$ echo $JAVA_HOME
/usr/java
[08:15:45 jax@mitra:~]$ ls -l /usr/java
lrwxrwxrwx    1 root     other          22 Apr 13  2004 /usr/java ->
/opt/SUNWappserver/jdk
[08:16:04 jax@mitra:~]$ javac
Usage: javac <options> <source files>
where possible options include:
  -g                        Generate all debugging info
  -g:none                   Generate no debugging info
  -g:{lines,vars,source}    Generate only some debugging info
  -nowarn                   Generate no warnings
  -verbose                  Output messages about what the compiler is doing
  -deprecation              Output source locations where deprecated APIs are used
  -classpath <path>         Specify where to find user class files
  -sourcepath <path>        Specify where to find input source files
  -bootclasspath <path>     Override location of bootstrap class files
  -extdirs <dirs>           Override location of installed extensions
  -d <directory>            Specify where to place generated class files
  -encoding <encoding>      Specify character encoding used by source files
  -source <release>         Provide source compatibility with specified release
  -target <release>         Generate class files for specific VM version
  -help                     Print a synopsis of standard options

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message