ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fenlason, Josh" <jfenla...@ptc.com>
Subject RE: Unzip Question
Date Thu, 13 Apr 2006 14:55:05 GMT
That worked like a charm.  Thanks for the quick response.
,
Josh.

> -----Original Message-----
> From: RADEMAKERS Tanguy [mailto:Tanguy.RADEMAKERS@swift.com] 
> Sent: Thursday, April 13, 2006 9:49 AM
> To: Ant Users List
> Subject: RE: Unzip Question
> 
> Hello Josh,
> 
> It's a two step process:
> 
> 1) extract the .js files from the archive to a temp location 
> using the <unzip> task with a nested <patternset>
> 2) use the <copy> task with a nested <flattenmapper/> to copy 
> the js files from the temp location to a new destination
> 
> /t
> 
>  
> 
> >-----Original Message-----
> >From: Fenlason, Josh [mailto:jfenlason@ptc.com]
> >Sent: Thursday, April 13, 2006 4:35 PM
> >To: user@ant.apache.org
> >Subject: Unzip Question
> >
> >I'm trying to extract only js files from a zip file and not 
> retain the 
> >folder structure from the zip file.
> >For example the zip file might look like this:
> >    /foo/bar/test.js
> >    /foo/test2.js
> >I want to extract so they come out like this:
> >    C:\test\test.js
> >    C:\test\test2.js
> >Hope that make sense.
> > 
> >Is that possible?  The "Mapping File Names" section sounds 
> promising, 
> >but I'm a bit confused about how to use it.  It its not 
> possible to do 
> >this with the unzip task.  Is there a way to do it if I 
> extracted to a 
> >temp file?  Thanks in advance.
> >,
> >Josh.
> >
> 
> ---------------------------------------------------------------------
> 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