Hey there

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

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">
        <intersect>
                <fileset dir="Dir1">
                        <include name="*.jar"/>
                </fileset>
                <fileset dir="Dri2">
                        <include name="*.jar"/>
                </fileset>
        <intersect>
</copy>


Problem:
Nothing get copied :-(

Thanks for your help.

Alex




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

Reply via email to