FIXED!!! The point is the environment variable LANG.
ProductIndexer connects to Oracle DB during its work. For right work of oracle database connection it is necessary to indicate language. New property shall be added: <property name="LANG" value="en_US.ISO8859-1"/> Then: <exec dir="${EAHOME}/sysiq2/temp/${DNAME}_temp" executable="${EAHOME}/ProductIndexer" failonerror="true" > <arg value="${EAHOME}/sysiq2/temp/${DNAME}_temp/${DNAME}.dxp"/> <env key="LANG" value="${LANG}"/> </exec> And it's all :) -----Original Message----- From: Nadejda Rylova [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:19 AM To: 'Ant Users List' Subject: RE: <exec> and '$' symbol on Solaris 8 -----Original Message----- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 8:53 PM To: Ant Users List Subject: Re: <exec> and '$' symbol on Solaris 8 so lets get this right 1. ProductIndexer is a shell script you exec/run on the command line 2. when it runs on the command line it works 3. when run from ant it generates output files that are somehow invalid, with $ being corrupted NR: Yes, you are right. Only you have this problem, so only you are going to be able to fix it. -if you run with -v you can see the full command sent to the command line. Try passing that to the program from your shell, and see if it has the problem "bad arguments" NR> No, it is not the problem "bad arguments" -if it aint that, it is probably some environmental thing. But what, I dont know NR> pity Thank you Nadejda Rylova --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]