ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Ant Task to Write to a file
Date Mon, 13 Nov 2006 14:50:42 GMT
<echoxml>

Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Jacob Kjome [mailto:hoju@visi.com] 
>Gesendet: Donnerstag, 9. November 2006 17:02
>An: Ant Users List; james.abley@volantis.com
>Betreff: Re: Ant Task to Write to a file
>
>
>Or, if you want to deal with XML in a more robust way, look 
>into XMLTask...
>
>http://www.oopsconsultancy.com/software/xmltask/
>
>Jake
>
>Quoting James Abley <james.abley@volantis.com>:
>
>> <echo 
>> file="some.file">&lt;module&gt;${some.property}&lt;/module&gt;</echo>
>>
>> http://ant.apache.org/manual/CoreTasks/echo.html
>>
>> me_zeta wrote:
>> >
>> > The value i want to write to a file is an xml string of the form
>> >
>> > <module>{data comes here}
>> > </module>
>> >
>> > how can this be done??
>> >
>> >
>> >
>> > Tom Corcoran-2 wrote:
>> >> Here's an example which creates the file datetime.inc in your 
>> >> classes directory :
>> >>
>> >>   <property name="build" location="classes"/>
>> >>   <propertyfile
>> >>     file="${build}/datetime.inc">
>> >>     <entry  key="CompileDateTimeStr" type="date" value="now" 
>> >> pattern="d MMM yyyy HH:mm:ss"/>
>> >>   </propertyfile>
>> >>
>> >> Tom.
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: me_zeta [mailto:me_zeta@yahoo.com]
>> >> Sent: 09 November 2006 09:38
>> >> To: user@ant.apache.org
>> >> Subject: Ant Task to Write to a file
>> >>
>> >>
>> >> Hi all,
>> >>
>> >>      Is there any ant task to write some data to a file.
>> >>
>> >> zeta
>> >>
>> >> 
>-------------------------------------------------------------------
>> >> -- 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