>Oham - I was just going to ask, how the docu can be used e.g.
>to find all possible subelements of a given element, since the
>ant docu doesn't work too well for me...
Should be in the manual, isnt it?
>Now I ended up with
>
> <path id="classpath_jacorb">
> <fileset dir="${jarpath}">
> <include name="**/jacorb*.jar" />
> </fileset>
> </path>
> <pathconvert property="classpath_jacorb.property"
> refid="classpath_jacorb" targetos="unix"/>
>
> <condition property="jacorb.present">
> <contains string="${classpath_jacorb.property}"
>substring="jar"/>
> </condition>
>
>This is quite ugly, but at least it works :-/
Have you tried <pathconvert setonempty="false"/> ?
And with Ant 1.7 you could use nested resource collections.
See http://marc.theaimsgroup.com/?l=ant-user&m=113449111905331&w=2 for
a little different topic - but could be interesting for you.
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]