From: "Holger Engels" <[EMAIL PROTECTED]> > On Fri, 9 Nov 2001, Jose Alberto Fernandez wrote: > > > I think it is best not making the task extend from MatchingTask but > > still support <fileset> elements or as I call it <antfileset> :-) > > > > <ant target="xx"> > > <fileset dir="sub"> > > <include name="sub1/**/build.xml" /> > > </fileset> > > </ant> > > > > here the different meanings of dir are kept appart. And in this particular > > case > > you will be using the "basedir" defined in the sub-buildfiles. If you use > > <ant dir="xyz"> then it should mean use this value for "basedir", as it > > does today. > > > > Ok, I agree. I'm going to remove the matching task stuff and only support > nested antfilesets. This makes it better understandable. > > If I got you right, the 'dir' attribute of ant should override the dir of > any particular fileset.
No, not the dir of the fileset (which is used to find the files in the fileset) but the value used inside the task to compute the basedir property of the subbuild. Which is quite different. I would also make the attribute "antfile" and <antfileset> mutially exclusive. That would probably keep strange combinations to become a "bad feature" ;-) Jose Alberto _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
