-->
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: hbm2java
PostPosted: Sun Apr 04, 2004 7:06 am 
Newbie

Joined: Sun Apr 04, 2004 6:19 am
Posts: 15
Hi guys,

I have hard time figuring out how to use mentioned tool and some others (schema export for example). Nothing I download works till I fix classpath issues etc (correct jar filenames etc). Is this "ok" or I have downloaded wrong files?

What I need is called here "middle out", ie from hbm to java/ddl. I might need ddl2hbm as well. What is the "shortest" path to get mentioned working?

thank you in advance,
Mike

P.S.
Yes I've read TFM, still confused.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 04, 2004 11:06 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
use the ant tasks .... (they are much easier to control IMHO)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 04, 2004 11:35 am 
Newbie

Joined: Sun Apr 04, 2004 6:19 am
Posts: 15
Thanks for the answer.

But what tasks??? Here is a list of tasks for hibernate tools:

Quote:
D:\temp\hibernate_tools\tools>ant -projecthelp
Buildfile: build.xml

Main targets:

clean Cleans up build and dist directories
compile Compile the Java source code
copylib Copy jars to lib dir
copysource Copy sources to dist dir
dist Build everything
extras Copies miscellaneous files to root dir
info Echoes useful system properties
init Initialize the build
jar Build the distribution .jar file
javadoc Compile the Javadoc API documentation to dist dir
rar Build a JCA distribution .rar file
Default target: dist


I guess you are talking about something else...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 04, 2004 11:44 am 
Senior
Senior

Joined: Wed Mar 24, 2004 11:40 am
Posts: 146
Location: Indianapolis, IN, USA
mikesu wrote:
Thanks for the answer.

But what tasks??? Here is a list of tasks for hibernate tools:



If you would like to look at a sample ant build script that uses different ways of developing, try the build.xml with this sample distribution.

http://www.hibernate.org/hib_docs/online/workshop_toolset/java/


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.