Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
AW: fileset/zipfileset

AW: fileset/zipfileset

2003-02-10       - By Nestel, Frank IZ/HZA-IC4

I build my zip-file from filesystem entries. To make it simple: I want all
files in the zip to look like

  program-version/build.xml
  program-version/src
  program-version/src/de
  program-version/test
  program-version/test

whereas the real file hierarchy (where the ant job is
running) of course does not have the "program-version" prefix and is rooted
where the build.xml is. Since the set of to zip files is merged from more than
one fileset the only way I figured to do it conveniently (instead of
reenumerating the filesets), was to copy all stuff in a special zip directory
named
program-version and then zip that directory and then remove the directory.

As far as I understood zipfileset can attach such prefixes
to the entries put into the zip file, but I cannot refer
to my filesets from a zipfileset?!

Frank

> -----Urspr?ngliche Nachricht-----
> Von: Antoine Levy-Lambert [mailto:levylambert@(protected)]
> Gesendet: Sonntag, 9. Februar 2003 23:25
> An: Ant Users List
> Betreff: Re: fileset/zipfileset
>
>
> zipfileset is a type to designate a group of zip entries.
> Are you trying to build your zip file from entries of other
> zip/jar/war/ear files ? or from filesystem files ? or from a
> combination of both ?
> ----- Original Message -----
> From: "Nestel, Frank IZ/HZA-IC4" <nestefan@(protected)>
> To: "'Ant Users List'" <ant-user@(protected)>
> Sent: Sunday, February 09, 2003 11:13 PM
> Subject: fileset/zipfileset
>
>
> > Hi,
> >
> > to generate a large zip, I'd like to use the prefix
> > feature of the zipfileset, but I'd like to gather
> > the files from multiple filesets via id/refid.
> >
> > I didn't find a way to do that. Easiest would be,
> > if a zipfileset could contain a fileset as a child.
> > But I didn't get it to work.
> >
> > Any suggestions?
> >
> > Thank you,
> > Frank
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ant-user-unsubscribe@(protected)
> > For additional commands, e-mail: ant-user-help@(protected)
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-user-unsubscribe@(protected)
> For additional commands, e-mail: ant-user-help@(protected)
>


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.