ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Wood" <>
Subject conditionally set an ANT path reference
Date Fri, 20 Mar 2009 17:08:07 GMT
I'm building a path reference using the following: 

  <path id="">
      <path refid="projectReferences"/>
      <fileset dir="${dir.was.root}/lib">
          <include name="*.jar"/>
          <include name="*.zip"/>
      <fileset dir="${dir.was.root}">
          <include name="plugins/" />
      <fileset dir="${}">
          <include name="*.jar"/>
          <include name="*.zip"/>

The problem I have is that the dir does not exist on all
servers and when use this path reference to compile, the compile fails
and states that it can not find the directory in question.  Is there a
way for me to conditionally set the path reference?
Thanks, Eric

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message