ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Novotny <>
Subject how to conditionally include jars in path
Date Mon, 24 Mar 2003 17:28:33 GMT


    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"/>

    Thanks, Jason

View raw message