ant-user mailing list archives

Hi,
I have a path like the following:
<path id="classpath">
<pathelement location="${build.classes}"/>
and I want to add in there some logic like this:
if ${env.BOB_HOME} exists do the stuff below
<fileset dir="${env.BOB_HOME}/lib">
<include name="*.jar"/>
</fileset>
Thanks, Jason