ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EJ Ciramella <ecirame...@archivas.com>
Subject Re: Ant Zip Task
Date Thu, 04 Aug 2005 20:50:23 GMT
so you have the following:



/some/path/to/a/file/file1.txt
/some/path/to/another/file/file2.txt

and in the zip, you want:

/file1.txt
/file2.txt

Try the <zip> task's filesonly attribute and if that isn't enough,  
try the <zipfileset>'s fullpath attribute and set it to "/".

?

On Aug 4, 2005, at 12:08 PM, S I wrote:

> Hi
>
> I'm trying to zip up bunch of files in many subdirectories undrer  
> their parents directory but all the subdir names and paths are  
> getting included in the zip file.  The include attribute is not  
> doing it for me.  Is there a trick to this?  I just want the files  
> w/o any paths.
>
> Thanks
>
> Steve
>
>
>
> ---------------------------------------------------------------------
> 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