2008/11/15 Patrick Waugh <[EMAIL PROTECTED]>: > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]