ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Querret <g.quer...@riverside-software.fr>
Subject ZipFileSet and Selectors
Date Thu, 24 Jan 2013 12:32:02 GMT
Good morning,

--
Sorry for double post, I thought this email address was subscribing
Ant user. I'm not sure if non-subscribers can post messages, and if
answers were already sent, I didn't receive them.
--

I have a problem working with ZipFileSet and selectors, and I don't know if
my syntax is wrong, or if this is not supported by Ant.

If I have a directory filled with text files, I'm able to use :
<copy todir="target">
  <fileset dir="source">
    <contains text="some_string" />
  </fileset>
</copy>

However, if I create a ZIP file from "source" directory, and execute :
<copy todir="target">
  <zipfileset src="source.zip">
    <contains text="some_string" />
  </zipfileset>
</copy>
I always have the full content of source.zip in target directory
(contains selector doesn't seem to be executed).

Is this the expected behavior ? Is there another way to achieve that ?
I've only found one entry in Bugzilla (
https://issues.apache.org/bugzilla/show_bug.cgi?id=28353 ), but that
doesn't anwser my question.


Regards,


-- 
Gilles QUERRET

Riverside Software
15d route de Bellevue • 69440 Mornant • France
Mob : +33 662.525.532

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message