On 11/2/07, MikeO <michael.oberegger@cibc.ca> wrote:
> classpath.jar.include=lib;lib\ext;lib\config
> What am I doing wrong? Am I even on the right track? Thanks in advance.
You're better off leveraging the includes attribute of fileset in this
case IMHO.
---- env.properties ----
classpath.jar.include = \
lib/*.jar;\
lib/ext/*.jar;\
lib/config/*.jar
---- build.xml extract ---
<properties file="env.properties" />
<path id="project.class.path">
<fileset dir="." includes="${classpath.jar.include}" />
</path>
Forces to "list" all jars (well, uses patterns, so not exactly list),
but specifying it this way is better anyway I think. --DD
PS: Note the use of forward slashes in .properties. Always prefer
forward slashes in Ant.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|