Re: [nant-dev] DataSetGenerator

2005-02-15 Thread Brar Piening
Hi Martin,
I don't mind whether my code is in an exe or a dll - I would have needed 
a wrapper for NAnt if it was an exe that's why I chose the dll.
I also didn't want to replace xsd.exe which has some extra features 
MSDatasetGenerator (and my code) doesn't have, but if you've got a good 
idea, just go ahead and show me what comes out. I've written the 
DatasetGenerator completely on my own, in one weekend - I know that 
products that come out of such a constellation are often somewhat 
baindead ;-)
I don't know about solution I've never used it as I don't see it's 
advantage over either my hand-tuned NAnt buildfile or doing everything 
with VS.NET - perhaps here is someone who could convince me ;-)

btw:  the code should also work for Mono. I've intentionally used late 
binding for VJSharpCodeProvider so that Mono compilation should be no 
problem.
I just can't test it because I'm currently recompiling my Linux box 
(LFS) and  mono al crashes on my windows box.

Brar Piening
Martin Aliger schrieb:
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

RE: [nant-dev] DataSetGenerator

2005-02-14 Thread Martin Aliger
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_net-1.0.zip
 http://www.piening.info/downloads/DataSetGenerator-0.0.1_net-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=6595alloc_id=14396op=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=6595alloc_id=14396op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] DataSetGenerator

2005-02-14 Thread James, Justin
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_net-1.0.zip
 http://www.piening.info/downloads/DataSetGenerator-0.0.1_net-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=6595alloc_id=14396op=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=6595alloc_id=14396op=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_ide95alloc_id396op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


RE: [nant-dev] DataSetGenerator

2005-02-14 Thread Martin Aliger
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_net-1.0.zip
  http://www.piening.info/downloads/DataSetGenerator-0.0.1_net-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=6595alloc_id=14396op=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=6595alloc_id=14396op=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_ide95alloc_id396op=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_ide95alloc_id396op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers