ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohit Anchlia" <mohitanch...@gmail.com>
Subject Re: Write to a new file
Date Thu, 16 Oct 2008 15:51:21 GMT
thanks for that info. It helps

On Wed, Oct 15, 2008 at 10:43 PM,  <Jan.Materne@rzf.fin-nrw.de> wrote:
> Have you tried it out?
> I think that should work. Not with writing the literals \n\r, but having the line breaks.
> I am not sure, but may setting <echo encoding> would help.
>
> But if you want to create an ini file (as other configuration files) there is a better
way:
> use templates and fill in the value while copying.
>
> http://ant.apache.org/manual/CoreTypes/filterset.html
> http://ant.apache.org/manual/CoreTypes/filterchain.html
>
>
> Jan
>
>>-----Urspr√ľngliche Nachricht-----
>>Von: Mohit Anchlia [mailto:mohitanchlia@gmail.com]
>>Gesendet: Mittwoch, 15. Oktober 2008 17:42
>>An: Ant Users List
>>Betreff: Re: Write to a new file
>>
>>This is like 'ini' file that's needed to configure one of our
>>monitoring tool. Does escape sequences like \n \r work too?
>>
>>On Wed, Oct 15, 2008 at 8:34 AM,  <Jan.Materne@rzf.fin-nrw.de> wrote:
>>> <echo file>
>>> <echo file append>
>>> <concat>
>>>
>>> But the basic question is: what kind of file do you want to have?
>>>
>>>
>>> Jan
>>>
>>>>-----Urspr√ľngliche Nachricht-----
>>>>Von: Mohit Anchlia [mailto:mohitanchlia@gmail.com]
>>>>Gesendet: Mittwoch, 15. Oktober 2008 17:31
>>>>An: Ant Users List
>>>>Betreff: Write to a new file
>>>>
>>>>Is there a way in ant to create a new file or write to existing file?
>>>>
>>>>---------------------------------------------------------------------
>>>>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
>>>
>>>
>>
>>---------------------------------------------------------------------
>>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
>
>

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


Mime
View raw message