ant-user mailing list archives

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

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



Mime
View raw message