I have not had a problem running Ant 1.6.5 on Z/OS 1.4 with JDK 1.4.2. I also use the <property environment> without issue.
There is an issue with <echoproperties>. It outputs fine to a file, but sends junk when sent to the screen. I do not send any options to the JVM. All my build scripts and properties files are in EBCDIC. My build scripts use the following xml prolog: <?xml version="1.0" encoding="Cp1047"?> Your specific encoding might be different. I have the Ant Tasks For Maven 2 working fine but some of the distributions xml files needed translation. Cheers, Jeff Anuradha Weeraman wrote: > > Hi All, > > I'm having what appears to be some character set related issues when > running Ant on z/OS under USS. I have tracked down the issue to the > <property environment> tag which doesn't seem to be able to pick up > environment variables and spews ASCII text when the following > IBM_JAVA_OPTIONS variable is defined: > > -Dfile.encoding=ISO8859-1 -Dconsole.encoding=IBM-1047 -Xnoargsconversion > > The ASCII text, when converted to EBCDIC appears to be environment > variables, so I'm guessing that Ant internally expects the environment > variables in EBCDIC (possibly from the output of /bin/env) which > somehow gets converted to ISO8859-1 due to the file.encoding > parameter, leading to its confusion. > > Ant 1.5.3-1 is bundled with the version of Maven that I use, and it > requires the IBM_JAVA_OPTIONS to be set. > > Has anyone experienced this before? Does anyone know if Ant is capable > of handling custom file.encoding as in this case? > > Regards, > Anuradha > > PS. Apologies for cross posting, thought maybe the devs can shed some > light on the conversion aspects. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Ant-on-z-OS-tf1978859.html#a5439836 Sent from the Ant - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
