ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: Release log file lock from <record>
Date Thu, 02 Dec 2004 07:49:06 GMT
The follwoinf script works in my environment (Fedora
Core 2 Linux):
<project>
     <record name="log.txt" action="start"/>
     <echo message="test inside record"/>
     <record name="log.txt" action="stop"/>
     <echo message="test outside record"/>
     <move file="log.txt" tofile="test.txt"/>
</project>

Ivan

--- Robert Soesemann <rsoesemann@sapient.com> wrote:

> Hello,
> 
> In my build script I use the <record> task to echo
> errors to a log file.
> At the end of my script i want to perform some
> operations (replace,
> rename) on that file.
> 
> But this does not work, as ant hold a lock on that
> file the whole time.
> How can I release that?
> 
> Regards,
> 
> R.
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page  Try My Yahoo!
http://my.yahoo.com 

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


Mime
View raw message