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=36939>. 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=36939 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2005-10-06 10:36 ------- This is not an ant issue. issue 1: character encoding Javac in java 1.5 is much more strict with regard to the characters in java source files. By default on unix/linux the character encoding is utf-8. With utf-8 characters outside the 127 range have different encoding - and some byte sequences are not allowed. It looks like you are encodeing using iso 8857-1 (latin1) and not utf-8 - hence the warning messages. Your options are a) change the encoding to utf-8 b) tell javac to use the iso 8857 encodeing by useing the encoding attribute (I do not know the value) or c) convert the characters to us-ascii (i.e. under 127) issue 2: classpath Javac in java 1.5 is much more strict with regard to the contents of the classpath. If you do >javac -classpath AdvancedTimer.java *.java where AdvancedTimer.java exists and is not a jar file, you will get an error in java 1.5 but not in java 1.4. With ant, it is easy to construct these invalid classpaths. for example <target name="bad"> <javac srcdir="src"> <classpath> <fileset dir="src"/> </classpath> </javac> </target> will fail giving the error: bad: Compiling 1 source file error: error reading /home/preilly/learning/a/1.5/src/Test.java; error in opening zip file 1 error -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]