> From: Mark Lybarger [mailto:[EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to