You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by bsbiran <bs...@googlemail.com> on 2007/12/08 20:59:28 UTC

How to create a file?

Hello, 

Can someone please help me. I need to create a file jim.txt

1) Delete jim.txt
2) create jim.txt

Please help

BS.
-- 
View this message in context: http://www.nabble.com/How-to-create-a-file--tf4968225.html#a14232007
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Re: How to create a file?

Posted by Krzysztof Kucybala <kk...@echo.fr>.
delete:
<delete file="jim.txt"/>

create:
<touch file="jim.txt"/>
or:
<echo file="jim.txt">Hello Jim!</echo>

Best regards,
Chris
bsbiran wrote:
> Hello, 
> 
> Can someone please help me. I need to create a file jim.txt
> 
> 1) Delete jim.txt
> 2) create jim.txt
> 
> Please help
> 
> BS.


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


Re: How to create a file?

Posted by bsbiran <bs...@googlemail.com>.

thanks Francisco!


Francisco Tolmasky wrote:
> 
> 1) <delete file = "jim.txt"/>
> 2) <touch file = "jim.txt" />
> 
> Francisco
> 
> 
> On Dec 8, 2007, at 11:59 AM, bsbiran wrote:
> 
>>
>> Hello,
>>
>> Can someone please help me. I need to create a file jim.txt
>>
>> 1) Delete jim.txt
>> 2) create jim.txt
>>
>> Please help
>>
>> BS.
>> -- 
>> View this message in context:
>> http://www.nabble.com/How-to-create-a-file--tf4968225.html#a14232007
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-create-a-file--tf4968225.html#a14232150
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Re: How to create a file?

Posted by Francisco Tolmasky <to...@gmail.com>.
1) <delete file = "jim.txt"/>
2) <touch file = "jim.txt" />

Francisco


On Dec 8, 2007, at 11:59 AM, bsbiran wrote:

>
> Hello,
>
> Can someone please help me. I need to create a file jim.txt
>
> 1) Delete jim.txt
> 2) create jim.txt
>
> Please help
>
> BS.
> -- 
> View this message in context: http://www.nabble.com/How-to-create-a-file--tf4968225.html#a14232007
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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