http://www.ant-tasks.com/
Apache Ant Archive
»
Ant Users List
»
Ant Developers List
how to conditionally include jars in path
how to conditionally include jars in path
2003-03-24 - By Jason Novotny
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
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.