ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Build zip file with manifest listing files and perforce revision numbers?
Date Mon, 18 Feb 2008 06:01:18 GMT
Not tested, but maybe something like

<concat destfile="versions.txt">
    <zipfileset src="a.zip" includes="version.txt"/>
    <zipfileset src="b.zip" includes="version.txt"/>
    <zipfileset src="c.zip" includes="version.txt"/>
</concat> 


Maybe you can bundle all <zipfileset>s to one construct ...


Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Karr, David [mailto:david.karr@wamu.net] 
> Gesendet: Samstag, 16. Februar 2008 23:49
> An: Ant Users List
> Betreff: Build zip file with manifest listing files and 
> perforce revision numbers?
> 
> I think I'm going to need to build a task that assembles a 
> zip file from
> a set of files, where the MANIFEST file has one key/value 
> pair for each
> file put into the zip file, where the value is the Perforce revision
> number for the file in the current view.  I could easily do something
> like this with Perl, but I'm not sure how to do it with pure Ant (not
> counting any Ant task libraries I put into the mix).
> 
> Anyone have any suggestions on how to accomplish this?
> 
> ---------------------------------------------------------------------
> 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