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=37508>. 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=37508 Summary: Unconvertible UTF-8 character beginning with 0xa7 when building on z/OS. Product: Ant Version: 1.5 Platform: Other OS/Version: other Status: NEW Severity: blocker Priority: P2 Component: Build Process AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] We have been using ANT for the last three years and suddenly started to get this failure when we try to build: BUILD FAILED file:/u/DEVCCB/sandbox/b722/xmcommon/ant/build.xml:1: Character conversion error: "Unconvertible UTF-8 character beginning with 0xa7" (line number may be too low). The build.xml file is checked into CVS as a text file - so when it is checked out it is converted to EBCDIC even though the XML states it is UTF-8. This never seem to have bothered ANT and it was always able to read the XML build files up this week when something mysteriously changed and we were not able to build anymore. Should the build.xml files be checked into CVS as binary or is ANT able to read XML files in the native codepage as well? The diagnostics are: ------- Ant diagnostics report ------- Apache Ant version 1.5 compiled on October 16 2003 ------------------------------------------- Implementation Version (JDK1.2+ only) ------------------------------------------- core tasks : 1.5 optional tasks : 1.5 ------------------------------------------- ANT_HOME/lib jar listing ------------------------------------------- ant.jar (718980 bytes) antcontrib.jar (20877 bytes) bsf.jar (105573 bytes) cpptasks.jar (472934 bytes) cqtasks.jar (459534 bytes) crimson.jar (206725 bytes) dom4j.jar (456914 bytes) jakarta-oro-2.0.6.jar (65368 bytes) js.jar (390767 bytes) jt400Native.jar (2762892 bytes) junit.jar (121070 bytes) optional.jar (530764 bytes) recjava.jar (229652 bytes) recordio.jar (209111 bytes) xalan.jar (2645149 bytes) xml-apis.jar (108484 bytes) NetComponents.jar (92484 bytes) ------------------------------------------- Tasks availability ------------------------------------------- wlrun : Not Available icontract : Not Available vajload : Not Available stlist : Not Available antlr : Not Available netrexxc : Not Available starteam : Not Available stylebook : Not Available stlabel : Not Available jdepend : Not Available stcheckin : Not Available vajexport : Not Available stcheckout : Not Available ejbc : Not Available vajimport : Not Available wlstop : Not Available ddcreator : Not Available ------------------------------------------- org.apache.env.Which diagnostics ------------------------------------------- Not available. Download it at http://xml.apache.org/commons/ ------------------------------------------- System properties ------------------------------------------- java.assistive : ON platform.notASCII : true java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition sun.boot.library.path : /usr/lpp/java/IBM/J1.3/bin java.vm.version : 1.3.1 java.vm.vendor : IBM Corporation java.vendor.url : http://www.ibm.com/ path.separator : : java.vm.name : Classic VM file.encoding.pkg : sun.io java.vm.specification.name : Java Virtual Machine Specification user.dir : /u/DEVCCB/sandbox/b722/ant/bin java.runtime.version : 1.3.1 java.fullversion : J2RE 1.3.1 IBM OS/390 Persistent Reusable VM build cm131s- 20040117 (JIT enabled: jitc) java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment os.arch : 390 java.io.tmpdir : /tmp line.separator : java.vm.specification.vendor : Sun Microsystems Inc. java.awt.fonts : os.name : z/OS ant.home : /u/DEVCCB/sandbox/b722/ant java.library.path : /usr/lpp/java/IBM/J1.3/bin/:/usr/lpp/java/IBM/J1.3/bin/class ic:/usr/lpp/Printsrv/lib:/lib:/usr/lib:.:/usr/lib java.specification.name : Java Platform API Specification java.class.version : 46.0 invokedviajava : os.version : 01.04.00 user.home : /u/DEVCCB user.timezone : EST java.awt.printerjob : sun.awt.motif.PSPrinterJob file.encoding : Cp1047 java.specification.version : 1.3 java.class.path : /u/DEVCCB/sandbox/b722/ant/lib/xml- apis.jar:/u/DEVCCB/sandbox/b722/ant/lib/xalan.jar:/u/DEVCCB/sandbox/b722/ant/lib /recordio.jar:/u/DEVCCB/san dbox/b722/ant/lib/recjava.jar:/u/DEVCCB/sandbox/b722/ant/lib/optional.jar:/u/DEV CCB/sandbox/b722/ant/lib/junit.jar:/u/DEVCCB/sandbox/b722/ant/lib/jt400Native.ja r:/u/DEVCCB/sandbox/b722/ant/lib/js.jar:/u/DEVCCB/sandbox/b722/ant/lib/jakarta- oro- 2.0.6.jar:/u/DEVCCB/sandbox/b722/ant/lib/dom4j.jar:/u/DEVCCB/sandbox/b722/ant /lib/crimson.jar:/u/DEVCCB/sandbox/b722/ant/lib/cqtasks.jar:/u/DEVCCB/sandbox/b7 22/ant/lib/cpptasks.jar:/u/DEVCCB/sandbox/b722/ant/lib/bsf.jar:/u/DEVCCB/sandbox /b722/ant/lib/antcontrib.jar:/u/DEVCCB/sandbox/b722/ant/lib/ant.jar:/u/DEVCCB/sa ndbox/b722/ant/lib/NetComponents.jar:/usr/lpp/java/IBM/J1.3/lib/tools.jar user.name : DEVCCB java.vm.specification.version : 1.0 java.home : /usr/lpp/java/IBM/J1.3 user.language : en java.specification.vendor : Sun Microsystems Inc. java.vm.info : J2RE 1.3.1 IBM OS/390 Persistent Reusable VM build cm131s- 20040117 (JIT enabled: jitc) java.version : 1.3.1 java.ext.dirs : /usr/lpp/java/IBM/J1.3/lib/ext sun.boot.class.path : /usr/lpp/java/IBM/J1.3/lib/rt.jar:/usr/lpp/java/IBM/J1.3/l ib/i18n.jar:/usr/lpp/java/IBM/J1.3/classes java.vendor : IBM Corporation file.separator : / java.vendor.url.bug : java.compiler : jitc sun.io.unicode.encoding : UnicodeBig The build with the -v option shows: Apache Ant version 1.5 compiled on October 16 2003 Buildfile: build.xml Detected Java version: 1.3 in: /usr/lpp/java/IBM/J1.3 Detected OS: z/OS parsing buildfile build.xml with URI = file:/u/DEVCCB/sandbox/b722/xmcommon/ant/build.xml BUILD FAILED file:/u/DEVCCB/sandbox/b722/xmcommon/ant/build.xml:1: Character conversion error: "Unconvertible UTF-8 character beginning with 0xa7" (line number may be too lo w). at org.apache.tools.ant.helper.ProjectHelperImpl.parse (ProjectHelperImpl.java:170) at org.apache.tools.ant.ProjectHelper.configureProject (ProjectHelper.java:117) at org.apache.tools.ant.Main.runBuild(Main.java:597) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) -- 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]