Hi,

Until now, I've always used the XsdTask (from NantContrib) to generate my
typed datasets from xml schemas. I've found that using this this task has
several disadvantages: 

* You can't use filesets to generate datasets from a collections of xml schemas.
Since my entire build environment is based on generic buildfiles which are included 
in each project-specific buildfile, this is a major pain.

* The xsdtask does not check if the sources are up to date; it always generates 
the datasets. Actually, this issue is more related to xsd.exe itself.

* It's pretty slow, since it's based on the execution of an external executable.

To fix this, I've created my own TypedDataSetGenerator task, which is based on the 
TypedDataSetGenerator found in the System.Data assembly. While it overlaps somewhat 
with the XsdTask (which can do more than generate datasets), it does solve the above
metioned issues.

If there's interest, I could post this task to the list. I'm not sure whether it 
should be placed in Nant.DotNetTasks or NantContrib, though.

I've also started work on making filesets referentialable(?), which means that one 
could
use a ref attribute to denote another fileset marked with an ID attribute. 
Expect patches next week.

Best,

Arjen



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to