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 Mon, 21 Nov 2005 13:45:13 GMT

Word 'output' was used in more common sense. Not output stream but files
created during utility's work. ProductIndexer itself creates several files,
not puts their contents to the output stream. So I believe <redirector>
hardly can help.

As to encoding it seems like every other symbols in the files are normal.
Though I'm not sure about other special symbols.


Thank you in any case,
Nadejda


-----Original Message-----
From: Steve Loughran [mailto:stevel@apache.org] 
Sent: Monday, November 21, 2005 6:57 PM
To: Ant Users List
Subject: Re: <exec> and '$' symbol on Solaris 8

Nadejda Rylova wrote:
> Thank you for you answer, Antoine. But you don't understand me.
> 
> EAHOME and DNAME are parameters for this build file (it's ok). BUILD
> SUCCESSFUL - so everything (almost) works. 
> 
> But utility ProductIndexer creates several files (some its output) which
> shall contain symbol '$'. But instead of this symbol they contain
> balderdash. At the same time if I execute ProductIndexer out of ant
process
> (just call it from command line) its output doesn't have troubles with
'$'.
> 
> So it is the problem: output of command line utility executed with <exec>
> _during ant process_ contains rubbish instead of symbol '$'. 
> 
> Thanks,
> Nadejda


Could be an encoding problem. Try using a nested <redirector> element to 
set the output/error encodings to match that of the platform.

---------------------------------------------------------------------
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