There is already an Ant tesk for SchemaExport in Hibernate2 CVS. However, I
think it is
probably achieving less re-use than your code. How about you have a look at
what
is existing there, and if you think there are any improvements to be made,
submit a
patch....
"Cameron Braid"
<[EMAIL PROTECTED]> To: "Hibernate Development
List"
Sent by: <[EMAIL PROTECTED]>
[EMAIL PROTECTED] cc:
eforge.net Subject: [Hibernate] v
1.2 SchemaExport.execute() method to be made
public
20/02/03 02:04 AM
Please respond to cameron
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
**********************************************************************
Any personal or sensitive information contained in this email and
attachments must be handled in accordance with the Victorian Information
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988
(Commonwealth), as applicable.
This email, including all attachments, is confidential. If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this email or attachments. Any confidentiality or
privilege is not waived or lost because this email has been sent to you in
error. If you have received it in error, please let us know by reply
email, delete it from your system and destroy any copies.
**********************************************************************
-------------------------------------------------------
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