Try running ant with a -debug option.
This might give you a better idea of whats wrong ..

�� wrote:

I recently start to use Hibernate+Ant+XDoclet. But xdoclet seems not developer-fliendly enough. Often, xdoclet generates nothing without complaints which is difficult for me to figure out what the problem is. Today when I use xdoclet task of ant to auto-generate and export mysql schema files, I encountered the following error message. Who can tell me what it means and where might the problem be. Thanks!

[schemaexport] (cfg.Configuration 153 ) Mapping file: C:\temp\
idea_prj\src\test\tmp\db\TestResult.hbm.xml
[schemaexport] (cfg.Binder 178 ) Mapping class: TestRes
ult -> testResult
[schemaexport] (dialect.Dialect 37 ) Using dialect: net.sf.
hibernate.dialect.MySQLDialect
[schemaexport] (cfg.Configuration 492 ) processing one-to-many
association mappings
[schemaexport] (cfg.Configuration 503 ) processing foreign key
constraints


BUILD FAILED
file:C:/temp/idea_prj/src/test/tmp/build.xml:78: Schema text failed: could not i
nstantiate id generator:


Total time: 17 seconds







-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01


_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user





This email and all contents are subject to the following disclaimer:

"http://www.didata.com/disclaimer.asp";



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to