ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <SCo...@sportvision.com>
Subject Recursive Filesets
Date Mon, 05 May 2003 19:24:59 GMT
Has anyone ever requested this?

Seems to me it would be a great convenience to be able to do something
like this:
<fileset id="war.sources">
	<fileset dir="${java.sources}"/>
	<fileset dir="${built.jars}">
		<include="this.particular.jar"/>
		<include="that.particular.jar"/>
	</fileset>
</fileset>

<uptodate property="need.to.rebuild.war" targetfile="some.war">
	<srcfiles refid="war.sources"/>
</uptodate>

etc.

But since filesets cannot be combined in this way, this will not work.
This forces you to insure that all sources live under the same tree,
which will get ugly the further the separate filesets are from the root
of the tree.



----------------------------------------------
Steve Cohen
Sr. Software Engineer
Sportvision Inc.
4410 N. Ravenswood Ave.
Chicago, IL 60640
(773)-293-4342

scohen@sportvision.com
http://www.sportvision.com


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message