ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject RE: ordered fileset or selective filelist
Date Tue, 05 Jul 2005 19:31:52 GMT
> From: Mark Lybarger []
> 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">
      <pathelement location="foo.xml"/>
      <pathelement location="bar.xml"/>
      <pathelement location="baz.xml"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message