ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Stevens" <insomniacpeng...@googlemail.com>
Subject Re: any way to do this with Ant?
Date Mon, 17 Nov 2008 07:12:02 GMT
2008/11/15 Patrick Waugh <ptwaugh@gmail.com>:
> So, in short, I need to be able to either move the file as is, or if I
> determine it can be unzipped, unzip it to the dist.dir.
>
> Problem is, I have no idea how I can determine if it needs to be unzipped!
>
> Ideas?

Just guessing, as it's not something I've tried...
Isn't there a try/catch task in one of the "extras" libraries?  Using
that, couldn't you try to unzip the file regardless, but catch &
ignore it if the attempt fails?


Andy
-- 
http://pseudoq.sourceforge.net/  Open source java Sudoku application

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


Mime
View raw message