ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonnek, Ryan" <Ryan.Son...@bpc.com>
Subject property as file filter
Date Fri, 02 May 2003 15:30:53 GMT
Doh!
Sorry about not changing the subject!

Is it possible to build a path from a property that acts like a filter?

<property name="common.fileset.filter" value="**/common/*.class,
**/common/*.xml" />

  <path id="common.fileset.path">
      <fileset dir="lib">
        <include name="${common.fileset.filter}" />
      </fileset>
  </path>

  <jar destfile="common.jar" >
    <fileset pathref="common.fileset.path" />
  </jar>


Mime
View raw message