Oh - thats new info for me - thanks for clarification. Still - shoudn't be better you write your code into .exe (like myxsd.exe) and use existing <xsd> task to call it? That way we could use whatever replacement for xsd.exe we want (I'm just writing mine own)
btw: does current <solution> handle projects with MSDataSetGenerator already? Martin Aliger > -----Original Message----- > From: Brar Piening [mailto:[EMAIL PROTECTED] > Sent: Monday, February 14, 2005 6:44 PM > To: Martin Aliger > Cc: 'James, Justin'; nant-developers@lists.sourceforge.net > Subject: Re: [nant-dev] DataSetGenerator > > Hi Martin, > this is not the full truth. > One could use the xsd command line tool (there is already a > wrapper for this tool in NAnt Contrib) for doing things like > this, but VS.NET does'nt. As I said it uses > MSDataSetGenerator which has'nt got a commandline (The only > exception are strongly typed datasets for managed extensions > for C++ where the xsd tool is used) . > I've tried it and didn't get what i wanted (code files that > can be checked using diff) - that's why I wrote this task. > Regards, > Brar > > Martin Aliger schrieb: > > >yes - xsd.exe is just what MSDataSetGenerator runs. > > > >btw: I just found that mono have also xsd.exe > >(http://www.mono-project.com/contributing/ado-net.html) so wrapper > >seems to be proper way. Moreover, it could be always reconfigurable > >(via nant framework config) to any custom generator like those > >mentioned below :-) > > > >Martin Aliger > > > > > > > > > >>-----Original Message----- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED] On Behalf Of > >>James, Justin > >>Sent: Monday, February 14, 2005 6:09 PM > >>To: nant-developers@lists.sourceforge.net > >>Subject: RE: [nant-dev] DataSetGenerator > >> > >>What Visual Studio uses is the xsd command line tool. Why not just > >>create a wrapper for the xsd command line tool instead? > >> > >>Later > >> > >>________________________________ > >> > >>From: [EMAIL PROTECTED] on behalf > of Martin > >>Aliger > >>Sent: Mon 2/14/2005 10:03 AM > >>To: 'Brar Piening'; nant-developers@lists.sourceforge.net > >>Subject: RE: [nant-dev] DataSetGenerator > >> > >> > >> > >>Hi, > >> > >>there is also generator in the PowerToys project on gotdot net > >>workspace > >>http://www.gotdotnet.com/workspaces/workspace.aspx?id=40d3e800 > >>-e2af-4220-a07 > >>9-66552dd2b825 > >> > >>Another one on > >>http://www.thecodeproject.com/dotnet/InheritFromDataSet.asp. > >> > >>But those generators do not generate identical results as > >>MSDataSetGenerator (intentionally). > >> > >> > >>Anyway, it could be cool to have this as nant task! Even more if it > >>works under mono (doesn't mono project have something like this?) > >> > >>Martin Aliger > >> > >> > >> > >> > >>>-----Original Message----- > >>>From: [EMAIL PROTECTED] > >>>[mailto:[EMAIL PROTECTED] On > >>> > >>> > >>Behalf Of Brar > >> > >> > >>>Piening > >>>Sent: Monday, February 14, 2005 5:02 PM > >>>To: nant-developers@lists.sourceforge.net > >>>Subject: [nant-dev] DataSetGenerator > >>> > >>>Hi there, > >>>I've written a NAnt task which should implement the > >>> > >>> > >>functionality of > >> > >> > >>>MSDataSetGenerator (=The custom tool inside VS.NET which generates > >>>strongly typed datasets fromXML-Schema files). > >>>For testing the results against those of MSDatasetGenerator > >>> > >>> > >>I've used > >> > >> > >>>diff. > >>>Right now the results (for all kinds of DataSet-Schemas > >>> > >>> > >>that came t my > >> > >> > >>>mind) are identical. > >>> > >>>Are you interested in this task? > >>>Any chance to get it into NAnt-Contrib or even NAnt one day? > >>>Would you mind testing it ;-) > >>> > >>>It' at: > >>>http://www.piening.info/downloads/DataSetGenerator-0.0.1-src.zip > >>>http://www.piening.info/downloads/DataSetGenerator-0.0.1_ne > t-1.0.zip > >>>http://www.piening.info/downloads/DataSetGenerator-0.0.1_ne > t-1.1.zip > >>> > >>>Regards, > >>>Brar Piening > >>> > >>> > >>>------------------------------------------------------- > >>>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-developers mailing list > >>>nant-developers@lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nant-developers > >>> > >>> > >>> > >>> > >> > >>------------------------------------------------------- > >>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-developers mailing list > >>nant-developers@lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nant-developers > >> > >> > >> > >> > >>------------------------------------------------------- > >>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_ide95&alloc_id396&op=ick > >>_______________________________________________ > >>nant-developers mailing list > >>nant-developers@lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nant-developers > >> > >> > >> > >> > > > > > > > >------------------------------------------------------- > >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_ide95&alloc_id396&op=click > >_______________________________________________ > >nant-developers mailing list > >nant-developers@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nant-developers > > > > > > > > > > > ------------------------------------------------------- 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_ide95&alloc_id396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers