No idea when this would get worked on, but the implementation should be pretty simple.

Most of the code is written to support creating a schema of arbitrary Type objects. But be careful as loading types means loading assemblies, and loading the assembly in the appdomain may cause the task, types and functions to be loaded... (which I believe it will). This would have the side effect of basically doing a <loadtasks/> on the assemblies you want to create a schema for. Another approach may be to require that the assemblies you want to create a schema for are already loaded, and just filter the rest of the loaded assemblies out. Either way, documenting the behavior is probably all that is needed. :)

If you want to discuss any more of the internal code I would suggest moving this thread over to the dev list.

If you put together a patch you can post it to the nant-dev list for review. If you include an updated unit test you are even more likely to get someone to test it and commit it.

----- Original Message ----- From: "Castro, Edwin Gabriel (Firing Systems Engr.)" <[EMAIL PROTECTED]>
That's good to know! I would like to have the ability to generate a task
schema for individual assemblies. :-) Will this ever be implemented? And
if yes, any idea when this might happen? If I look at the <nantschema/>
task and try to implement this functionality can I pass implementation
to someone to review and add to the distribution?
-----Original Message-----
From: [EMAIL PROTECTED]
Actually, the <nantschema/> task will output a schema for any, and all,
tasks that are loaded. This includes any custom tasks that are loaded
with
<loadtasks/>. It was on the <nantschema/> todo list to allow creating
schemas for only a given assembly, but that was not been coded yet.
----- Original Message ----- From: "Castro, Edwin Gabriel (Firing Systems Engr.)" <[EMAIL PROTECTED]>
While this method is not the recommended procedure, it does have the
nice property that you can use the <nantschema> task to produce a
schema
that will contain all the NAnt, NAntContrib, and Custom tasks
specified
in the nant.exe.config. This is very useful since there is no other
way
to create a schema for NAntContrib or Custom tasks.



------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to