ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject RE: ordered fileset or selective filelist
Date Tue, 05 Jul 2005 19:31:52 GMT
> From: Mark Lybarger [mailto:mlybarger@gmail.com]
> 
> a filelist is ordered, a fileset is selective but non-ordered. i'd like to
> combine features of each, either an ordered fileset, or a selective
> filelist (don't include non-existant files).
> 
> basically, i'm build war's and ear projects from a main "build all" type
> project. it should build the list of files in the order they're specified
> if they exist. is there anyway to get this functionality?

Then simply use a <path> within subant rather than either a <fileset> or a
<filelist>. A <path> is ordered, and drops non-existent files. --DD

<target name="default2">
  <subant>
    <buildpath>
      <pathelement location="foo.xml"/>
      <pathelement location="bar.xml"/>
      <pathelement location="baz.xml"/>
    </buildpath>
  </subant>
</target>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message