Hello,

I am trying to add an entry to a path, if some other
entry is not existant. I'm trying since hours now,=20
without success. I am somewhere here:


        <available file=3D"${jarpath}/**/jacorb*.jar"
property=3D"jacorb.present"/>

        <path id=3D"classpath">
                <fileset dir=3D"${jarpath}">
                   <include name=3D"**/*.jar" />
                   <exclude name=3D"orbacus.jar" />
                </fileset>
                <if>
                   <isfalse property=3D"${jacorb.present}" />
                   <fileset dir=3D"${jarpath}">
                      <include name=3D"orbacus.jar" />
                   </fileset>
                </if>
        </path>

... but it doesn't work. A fileset doesn't accept a
if inside, and a if does not accept
a fileset inside, and so on ...

How can I do this???

Thomas


PS: I also found http://ant-contrib.sourceforge.net/fileset.html
but it just "didn't" work. (I downloaded/placed the contrib jar 
and added the line
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
but it still said, that the fileset doesnt know the "unless".)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to