>From: <[EMAIL PROTECTED]>
>Sent: Wednesday, March 09, 2005 9:29 AM
...
> <target name="compile" depends="clean,prepare">
> <nant>
> <properties>
> <buildfiles>
> <include name="Orange.build"/>
> <include name="Banana.build"/>
> <include name="Tomato.build"/>
> </buildfiles>
> </nant>
> </target>
I'm surprised this even works without producing an error. I don't see
anything in the documentation that says you can put a buildfiles
element into a properties element.
The way I'd handle this is to have an intermediate build file that
contains the dependencies, i.e.
File: fruit.build
<project name="fruit"
<include name="Orange.build" />
<include name="Banana.build" />
<include name="Tomato.build" />
<target name=...
<nant ....
</project>
Then your top level build file can just invoke fruit.build. If
necessary, use properties for the file names. In my opinion, this
also gives you better modularity.
Gary
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users