Hello,
When I run "ant exportddl" with the caveatemptor out of the box unzippen I get the following error:
exportddl:
[schemaexport] 14-mrt-2005 12:37:18 net.sf.hibernate.cfg.Environment <clinit>
[schemaexport] INFO: Hibernate 2.1.8
[schemaexport] 14-mrt-2005 12:37:18 net.sf.hibernate.cfg.Environment <clinit>
[schemaexport] INFO: hibernate.properties not found
[schemaexport] 14-mrt-2005 12:37:18 net.sf.hibernate.cfg.Environment <clinit>
[schemaexport] INFO: using CGLIB reflection optimizer
[schemaexport] 14-mrt-2005 12:37:18 net.sf.hibernate.cfg.Environment <clinit>
[schemaexport] INFO: using JDK 1.4 java.sql.Timestamp handling
[schemaexport] 14-mrt-2005 12:37:18 net.sf.hibernate.cfg.Configuration configure
[schemaexport] INFO: configuring from file: hibernate.cfg.xml
[schemaexport] 14-mrt-2005 12:37:18 net.sf.hibernate.cfg.Configuration addResour
ce
[schemaexport] INFO: Mapping resource: org/hibernate/auction/model/User.hbm.xml
BUILD FAILED
C:\download\hibernate\caveatemptor\build.xml:111: Schema text failed: Resource:
org/hibernate/auction/model/User.hbm.xml not found
Apparently the ant build doesn't know how to find the .hbm.xml file even though (I checked):
* the file is there (both in the source and de build location, in the proper directory)
* if i check the build.xml file the target compilation dir is included in the path for the ant task.
Any ideas how to fix it ?
|