Matt Trentini wrote:

Thanks for all your help folks.  A custom help task ought to do the
job.  Still seems to me that -projecthelp should parse any include
tags but hey, I can live with that limitation!  :)

Would anyone be interested in a patch for that behaviour?  Or is it
undesirable (as it seemed to be for Gary at least)?
Definately. I vaguely started looking at it a while ago but didn't get much done. The current implementation uses an xslt stylesheet to process the buildfile and generate the projecthelp output. Xslt probably isn't really the right tool for this ( hey I was doing a lot of work with xslt at the time and when you've got a hammer everything looks like a nail ) however some kind of custom parsing will likely be necessary - rather than using NAnt's project class to load the includes. Remember that all top level tasks in an included file get excuted at <include> time - not ideal for -projecthelp if those top level tasks include things like <copy> or <delete>.

Feel free to ping me or the list with any questions about the implementation.

Ian

Cheers,
Matt

On 8/16/05, Merrill Cornish <[EMAIL PROTECTED]> wrote:
Matt,

I don't believe you can do what you would like to do.  As I remember from some 
previous question, --projecthelp doesn't actually cause the NAnt file to be processed 
so <include> tasks and ${propertyname} substitutions aren't executed.  Instead, 
--projecthelp merely reads the NAnt file serially looking for certain attributes in 
certain elements and reporting them.

Merrill



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to