ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Ziller" <>
Subject Using <intersect> on FileSets
Date Mon, 12 Oct 2009 09:47:44 GMT
Hey there

Im desperatly trying to get an intersection of 2 directories but it doesn't

The situation:

Dir1 contains a set of JARs: a.jar b.jar c.jar d.jar e.jar
Dir2 contains a subset of the JARs in Dir1: b.jar e.jar
I want to get the negative intersection (the stuff from Dir1 that's NOT in
Dir2) and figured
I tried this with an intersect and then try to invert the result somehow...

My attempt in ant:

<copy todir="${root.dir}/intersect">
		<fileset dir="Dir1">
			<include name="*.jar"/>
		<fileset dir="Dri2">
			<include name="*.jar"/>

Nothing get copied :-(

Thanks for your help.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message