-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Creating MSBuild Tasks... Schema Stream and Contributing?
PostPosted: Thu Apr 13, 2006 9:06 pm 
Regular
Regular

Joined: Fri Jul 29, 2005 9:46 am
Posts: 101
Hi! I am working with the latest release of NHIbernate (1.0.2) and creating 2 tasks NHConfigurationTask (that generates an hbm.xml file from NHibernate.Attributes) and NHSchemaExportTask (that generates an SQL DDL file form NHibernate.Attributes)...
To write the code of NHSchemaExportTask, is... a little ankward... because the SchemaExport object does not have a method to output the generated SQL to a stream (it writes directly to a file) so... I would like to request an API change in the SchemaExport... something like schemaExport.Write(Stream stream). (Of course I can I add it my self.. but... how do I make it part the official distribution?)

On the other hand, I am thinking about contributing the code of this two tasks to NHibernate... how could I do that?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 10:37 am 
Contributor
Contributor

Joined: Thu May 12, 2005 8:45 am
Posts: 226
In general, submitting patches involves getting the NH source, making all your changes, creating a patch (TortoiseSVN has a simple command for it), and sending that patch to the devel mailing list.


Top
 Profile  
 
 Post subject: In my way...
PostPosted: Fri Apr 14, 2006 7:47 pm 
Regular
Regular

Joined: Fri Jul 29, 2005 9:46 am
Posts: 101
Hi!:

1) getting the NH source: Done that
2) making all your changes: Almost there
3) creating a patch: Thank god for TortoiseSVN
4) sending that patch to the devel mailing list: Okey, so this is the way to attach files

Okey... really didnt know this was the way, thanks a lot


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 18, 2007 7:20 pm 
Regular
Regular

Joined: Tue Dec 02, 2003 6:25 pm
Posts: 61
Location: Dallas, TX
Did this make it into NH 1.2?

Is anyone generating the HBM as a part of their MSBuild?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.