Re: Zip a lot of files

2005-09-30 Thread Sven Waibel
Okay, i got it. Thank Nicolas for your help! Sven Nicolas Vervelle wrote:

Re: Zip a lot of files

2005-09-30 Thread Nicolas Vervelle
I made a typo, I was thinking of from ant-contrib also. You could use it before the call to . It will require some work especially to find the good pattern to use. Other idea is using to extract the filename from the complete path. Just remember that a property is immutable, so you need to use

Re: Zip a lot of files

2005-09-30 Thread Sven Waibel
How can i insert it in my target? Some ideas? Thanks a lot! Sven Nicolas Vervelle wrote: > Maybe a to create yourself the destfile ? > > Sven Waibel wrote: > >> ant-contrib helps in so many cases, thanks. >> >> I got some problems with . >> >> That's my target: >> >> >> >> >>

Re: Zip a lot of files

2005-09-30 Thread Nicolas Vervelle
Maybe a to create yourself the destfile ? Sven Waibel wrote: ant-contrib helps in so many cases, thanks. I got some problems with . That's my target: Now i get an error: [for]

Re: Zip a lot of files

2005-09-30 Thread Sven Waibel
ant-contrib helps in so many cases, thanks. I got some problems with . That's my target: Now i get an error: [for] D:\test\build.xml:702: Problem creating zip: D:\testing_today\D:\

Re: Zip a lot of files

2005-09-30 Thread Joe Schmetzer
On Fri, 30 September, 2005 11:04 am, Sven Waibel wrote: > You have to specify an archive file, but i have several archive files, so > i can't use Ah, PEBKAC on my last response (I need to read the Q more carefully). In that case, Nicolas Vervelle has probably given you the best solution. -- Jo

Re: Zip a lot of files

2005-09-30 Thread Sven Waibel
You have to specify an archive file, but i have several archive files, so i can't use Joe Schmetzer wrote: > On Fri, 30 September, 2005 10:37 am, Sven Waibel wrote: > >>Hi, >> >>i have several files i want to zip. >> >>Situation: >> >>d:\test\tt1.txt >>d:\test\tt2.txt >>d:\test\tt3.txt >>d:\te

Re: Zip a lot of files

2005-09-30 Thread Joe Schmetzer
On Fri, 30 September, 2005 10:37 am, Sven Waibel wrote: > Hi, > > i have several files i want to zip. > > Situation: > > d:\test\tt1.txt > d:\test\tt2.txt > d:\test\tt3.txt > d:\test\tt4.txt > d:\test\tt5.txt > d:\test\tt6.txt > > I want to get the following: > > d:\testing\tt1.zip > d:\testing\tt2

Re: Zip a lot of files

2005-09-30 Thread Nicolas Vervelle
A solution that works: use task from ant-contrib. Maybe there's an other solution using only ant core tasks, but I don't have the idea ;) Sven Waibel wrote: Hi, i have several files i want to zip. Situation: d:\test\tt1.txt d:\test\tt2.txt d:\test\tt3.txt d:\test\tt4.txt d:\test\tt5.txt

Zip a lot of files

2005-09-30 Thread Sven Waibel
Hi, i have several files i want to zip. Situation: d:\test\tt1.txt d:\test\tt2.txt d:\test\tt3.txt d:\test\tt4.txt d:\test\tt5.txt d:\test\tt6.txt I want to get the following: d:\testing\tt1.zip d:\testing\tt2.zip d:\testing\tt3.zip d:\testing\tt4.zip d:\testing\tt5.zip d:\testing\tt6.zip In