-->
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.  [ 1 post ] 
Author Message
 Post subject: Can't found hibernate.cfg.xml
PostPosted: Wed Jun 30, 2004 10:16 pm 
Newbie

Joined: Wed Jun 30, 2004 10:03 pm
Posts: 1
Location: Sapporo-Japan
Sorry, I'm not good at English.

Use:
Hibernate 2.1.4
Xdoclet-1.2.1

Use schemaexport with Ant task.
But, BUILD FAILED.
[schemaexport] BUILD FAILED: file:C:/eclipse-SDK-2.1.2-win32/workspace/Hibernate-Example/build.xml:120: Schema text failed: hibernate.cfg.xml not found

But, when I use Hibernate version 2.1.2, build successed.
This is build.xml
<target name="schemaexport" depends="xdoclet">
<taskdef name="schemaexport"
classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask"
classpathref="build.classpath" />
<schemaexport config="/hibernate.cfg.xml"
quiet="no"
text="no"
drop="no"
delimiter=";"
output="schema-export.sql">
</schemaexport>
</target>


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

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.