> 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
|