ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadejda Rylova <nadejda.ryl...@gmail.com>
Subject RE: <exec> and '$' symbol on Solaris 8
Date Tue, 22 Nov 2005 10:49:54 GMT
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:Nadejda.Rylova@gmail.com] 
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:stevel@apache.org] 
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: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message