There is the snippet. <exec dir="${EAHOME}/sysiq2/temp/${DNAME}_temp" executable="${EAHOME}/ProductIndexer" failonerror="true" > <arg value="${EAHOME}/sysiq2/temp/${DNAME}_temp/${DNAME}.dxp"/> </exec>
But as you can see it just execution of command line utility ProductIndexer with single parameter - some path (${EAHOME}/sysiq2/temp/${DNAME}_temp/${DNAME}.dxp). Those (problematic) '$' is not among the parameters (it's generated by ProductIndexer utility), so I cannot mask it. Thanks, Nadejda -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 4:26 PM To: user@ant.apache.org Subject: AW: <exec> and '$' symbol on Solaris 8 Can you post the code snippet? It´s just an idea (without understanding your problem): do you have to mask the dollar sign? E.g. if you want to pass the STRING ${foo} you have to mask the dollar $${foo}. Jan >-----Ursprüngliche Nachricht----- >Von: Nadejda Rylova [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 18. November 2005 15:35 >An: user@ant.apache.org >Betreff: <exec> and '$' symbol on Solaris 8 > >Hello - > > > >I created some ant build file and used <exec> to launch a >shell script. This script has quite complex scheme and forms >several files as result. >Everything works properly except one. After building these >result files contain rot instead of symbol '$'. However if I >launch same sh-file out of <exec> (and ant build file) this >problem doesn't arise. > > > >I tried to use ant v.1.6.2 and 1.6.5 and j2sdk v.1.4.2_03 and >v.1.4.2_04. > >Os Solaris 8 (= SunOS 5.8 = Solaris 2.8). > > > >Nadejda > > > > > > > > > > > > > > --------------------------------------------------------------------- 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]