I've contributed an ant task for SchemaExport. Gavin has committed it to
cvs. This is in Hibernate2 though.

Rong

-----Original Message-----
From: Cameron Braid [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 9:05 AM
To: Hibernate Development List
Subject: [Hibernate] v 1.2 SchemaExport.execute() method to be made
public


For Hibernate 1.2 (code in HEAD as at 20 Feb 2003)

I am writing a couple of ant tasks to allow for the execution of the
SchemaExport and SchemaUpdate processes directly from ant, rather than
using a forked java process.

The main reason for doing this is to be able to use the ant fileset to
specify a filter to choose all mapping files for a specific pattern.

I have been able to complete this task successfully for the
cirrus.hibernate.tools.SchemaUpdater class because its execute(boolean)
method is public.

However I am unable to do this with the current
cirrus.hibernate.tools.SchemaExport class due to the export(....) being
private.  Can this please be changed..

Thanks !

Cameron Braid
Director
Datacodex Pty Ltd
[EMAIL PROTECTED]
http://www.datacodex.com  


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Reply via email to