NAnt utilises inter target dependencies to determine build order. If you want a given target to execute before another one then you should setup a dependency. Somthing like:
<target name="build" > ... do build stuff here </target>
<target name= "doc-gen" depends="build" > <ndoc ... /> </target>
then the build target will always execute before the doc-gen target.
Ian
Julien Sobrier wrote:
Hello,
I both build mu projects and generate the documentation with NDoc in my build file. But Nant always generate the doc first, and then build the project, even so the NDoc portion is at the end of the build file. It doesn't seem to be logic since NDoc uses the assemblies to generate the doc. It would be better to generate the doc from the new assemblies, so it should be done last.
BTW, I have the same problem as Glenn Wilson: "Missing <summary> documentation for ..." even though the class, method or property does have the correct comment.
I'm using Nant 0.85RC3 + mono 1.0.6 + Cygwin
Thank you Julien
------------------------------------------------------- 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
