ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject Extract property out of multiline file
Date Wed, 08 Dec 2004 13:21:22 GMT

Hi, i have a txtfile generated by a script.

The file looks like that :

Env1,
Env2,
Env3,

sometimes there's only one value in that file, sometimes
more, like above.

I want to stript the ',' and get that Env's into one property :

myproperty = "Env1,Env2,Env3"

How to do that without scripting ?

Thanks for any hints!!

Regards, Gilbert



 

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


Mime
View raw message