I have been trying for several hours to get this to work.
Read all of your documentation but can't find what's wrong or a sample working build.xml + build.properties for it.
The hibernatetool ant task gets created and invoked. So I have the correct JAR files in my class path.
But I cant get none of the child tasks to work, such as hbm2hbmxml or hbm2dao.
All of them give the error:
"[hibernatetool] java.util.zip.ZipException: error in opening zip file"
A full log in included bellow.
I send both build.xml and properties file along with the normal info that applies...
Hibernate version: 3 (Hibernate tools 3.1.0 beta4)
Script files: build.xml
Code:
<?xml version="1.0"?>
<project default="main" basedir=".">
<property file="build.properties"/>
<target name="main" depends="prepare, generate"/>
<target name="prepare">
<taskdef name="hibernatetool"
classname="org.hibernate.tool.ant.HibernateToolTask">
<classpath>
<fileset dir="${hibernate.tools.dir}">
<include name="**/*.jar" />
</fileset>
<fileset dir="${hibernate.libs.annotations}">
<include name="**/*.jar" />
</fileset>
<fileset dir="${hibernate.libs.dir}">
<include name="**/*.jar" />
</fileset>
<fileset dir="${hibernate.libs.lib}">
<include name="**/*.jar" />
</fileset>
<fileset dir="${lib.dir}">
<include name="**/*.jar" />
</fileset>
<pathelement location="${hibernate.log4j.properties}"/>
</classpath>
</taskdef>
<hibernatetool destdir="${build.classes.dir}"
templatepath="${template.dir}">
<jdbcconfiguration configurationfile="hibernate.cfg.xml"
revengfile="hibernate.reveng.xml"/>
<property key="jdk5" value="true"/>
<property key="ejb3" value="false"/>
<!--hbm2hbmxml destdir="${build.classes.dir}"/-->
<hbm2dao destdir="${build.classes.dir}"/>
<!--hbmtemplate destdir="${build.classes.dir}" templateprefix="dao/" template="templates/dao/daohome.vm" filepattern="{package-name}/{class-name}Home.java"/-->
<!--hbmtemplate destdir="${build.classes.dir}" templateprefix="pojo/" template="templates/pojo/Pojo.vm" filepattern="{package-name}/{class-name}.java"/-->
<!--hbmtemplate destdir="${build.classes.dir}" templateprefix="pojo/" template="templates/pojo/PojoInterface.vm" filepattern="{package-name}/{class-name}I.java"/-->
</hibernatetool>
</target>
<target name="generate" >
</target>
</project>
Script files: build.propertiesCode:
build.classes.dir=${basedir}/../src/com/teamware/delegateit/model/test
template.dir=${basedir}/templates
eclipse.dir=F:/Programming/Java/JBoss IDE
hibernate.plugin.dir=${eclipse.dir}/plugins/org.hibernate.eclipse_3.1.0.beta4
hibernate.tools.dir=${hibernate.plugin.dir}/lib/tools
hibernate.libs.lib=${hibernate.plugin.dir}/lib
hibernate.libs.dir=${hibernate.plugin.dir}/lib/hibernate
hibernate.libs.annotations=${hibernate.plugin.dir}/lib/annotations
hibernate.log4j.properties=${hibernate.plugin.dir}/hibernate-log4j.properties
lib.dir=${basedir}/../lib
Full stack trace of any exception that occurs:
[hibernatetool] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
[hibernatetool] 1. task: hbm2dao (Generates a set of DAOs)
[hibernatetool] java.util.zip.ZipException: error in opening zip file
[hibernatetool] at java.util.zip.ZipFile.open(Native Method)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:818)
[hibernatetool] at org.apache.log4j.helpers.Loader.getResource(Loader.java:87)
[hibernatetool] at org.apache.log4j.LogManager.<clinit>(LogManager.java:103)
[hibernatetool] at org.apache.log4j.Logger.getLogger(Logger.java:103)
[hibernatetool] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[hibernatetool] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[hibernatetool] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[hibernatetool] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[hibernatetool] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[hibernatetool] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[hibernatetool] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[hibernatetool] at org.hibernate.tool.hbm2x.POJOExporter.<clinit>(POJOExporter.java:19)
[hibernatetool] at org.hibernate.tool.ant.Hbm2DAOExporterTask.createExporter(Hbm2DAOExporterTask.java:22)
[hibernatetool] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
[hibernatetool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[hibernatetool] at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool] at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[hibernatetool] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[hibernatetool] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[hibernatetool] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[hibernatetool] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[hibernatetool] java.util.zip.ZipException: error in opening zip file
[hibernatetool] at java.util.zip.ZipFile.open(Native Method)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[hibernatetool] at org.apache.log4j.helpers.Loader.getResource(Loader.java:100)
[hibernatetool] at org.apache.log4j.LogManager.<clinit>(LogManager.java:103)
[hibernatetool] at org.apache.log4j.Logger.getLogger(Logger.java:103)
[hibernatetool] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[hibernatetool] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[hibernatetool] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[hibernatetool] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[hibernatetool] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[hibernatetool] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[hibernatetool] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[hibernatetool] at org.hibernate.tool.hbm2x.POJOExporter.<clinit>(POJOExporter.java:19)
[hibernatetool] at org.hibernate.tool.ant.Hbm2DAOExporterTask.createExporter(Hbm2DAOExporterTask.java:22)
[hibernatetool] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
[hibernatetool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[hibernatetool] at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool] at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[hibernatetool] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[hibernatetool] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[hibernatetool] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[hibernatetool] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[hibernatetool] java.util.zip.ZipException: error in opening zip file
[hibernatetool] at java.util.zip.ZipFile.open(Native Method)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:818)
[hibernatetool] at org.apache.log4j.helpers.Loader.getResource(Loader.java:87)
[hibernatetool] at org.apache.log4j.LogManager.<clinit>(LogManager.java:105)
[hibernatetool] at org.apache.log4j.Logger.getLogger(Logger.java:103)
[hibernatetool] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[hibernatetool] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[hibernatetool] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[hibernatetool] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[hibernatetool] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[hibernatetool] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[hibernatetool] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[hibernatetool] at org.hibernate.tool.hbm2x.POJOExporter.<clinit>(POJOExporter.java:19)
[hibernatetool] at org.hibernate.tool.ant.Hbm2DAOExporterTask.createExporter(Hbm2DAOExporterTask.java:22)
[hibernatetool] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
[hibernatetool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[hibernatetool] at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool] at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[hibernatetool] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[hibernatetool] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[hibernatetool] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[hibernatetool] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[hibernatetool] java.util.zip.ZipException: error in opening zip file
[hibernatetool] at java.util.zip.ZipFile.open(Native Method)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[hibernatetool] at org.apache.log4j.helpers.Loader.getResource(Loader.java:100)
[hibernatetool] at org.apache.log4j.LogManager.<clinit>(LogManager.java:105)
[hibernatetool] at org.apache.log4j.Logger.getLogger(Logger.java:103)
[hibernatetool] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[hibernatetool] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[hibernatetool] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[hibernatetool] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[hibernatetool] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[hibernatetool] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[hibernatetool] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[hibernatetool] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[hibernatetool] at org.hibernate.tool.hbm2x.POJOExporter.<clinit>(POJOExporter.java:19)
[hibernatetool] at org.hibernate.tool.ant.Hbm2DAOExporterTask.createExporter(Hbm2DAOExporterTask.java:22)
[hibernatetool] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
[hibernatetool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[hibernatetool] at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool] at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[hibernatetool] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[hibernatetool] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[hibernatetool] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[hibernatetool] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[hibernatetool] log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
[hibernatetool] log4j:WARN Please initialize the log4j system properly.
[hibernatetool] java.util.zip.ZipException: error in opening zip file
[hibernatetool] at java.util.zip.ZipFile.open(Native Method)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[hibernatetool] at java.lang.Class.getResource(Unknown Source)
[hibernatetool] at oracle.sql.ConverterArchive.readObj(ConverterArchive.java:289)
[hibernatetool] at oracle.sql.converter.CharacterConverter.getInstance(CharacterConverter.java:141)
[hibernatetool] at oracle.sql.CharacterSetWithConverter.getInstance(CharacterSetWithConverter.java:77)
[hibernatetool] at oracle.sql.CharacterSetFactoryThin.make(CharacterSetFactoryThin.java:95)
[hibernatetool] at oracle.sql.CharacterSet.make(CharacterSet.java:370)
[hibernatetool] at oracle.jdbc.dbaccess.DBConversion.<init>(DBConversion.java:116)
[hibernatetool] at oracle.jdbc.ttc7.TTCConversion.<init>(TTCConversion.java:85)
[hibernatetool] at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1728)
[hibernatetool] at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:215)
[hibernatetool] at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:360)
[hibernatetool] at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:521)
[hibernatetool] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:325)
[hibernatetool] at java.sql.DriverManager.getConnection(Unknown Source)
[hibernatetool] at java.sql.DriverManager.getConnection(Unknown Source)
[hibernatetool] at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
[hibernatetool] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
[hibernatetool] at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1877)
[hibernatetool] at org.hibernate.tool.ant.JDBCConfigurationTask.doConfiguration(JDBCConfigurationTask.java:58)
[hibernatetool] at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:55)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:179)
[hibernatetool] at org.hibernate.tool.ant.Hbm2DAOExporterTask.createExporter(Hbm2DAOExporterTask.java:22)
[hibernatetool] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
[hibernatetool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[hibernatetool] at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool] at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[hibernatetool] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[hibernatetool] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[hibernatetool] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[hibernatetool] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[hibernatetool] java.util.zip.ZipException: error in opening zip file
[hibernatetool] at java.util.zip.ZipFile.open(Native Method)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[hibernatetool] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[hibernatetool] at java.lang.Class.getResource(Unknown Source)
[hibernatetool] at oracle.sql.ConverterArchive.readObj(ConverterArchive.java:289)
[hibernatetool] at oracle.sql.converter.CharacterConverter.getInstance(CharacterConverter.java:141)
[hibernatetool] at oracle.sql.CharacterSetWithConverter.getInstance(CharacterSetWithConverter.java:77)
[hibernatetool] at oracle.sql.CharacterSetFactoryThin.make(CharacterSetFactoryThin.java:95)
[hibernatetool] at oracle.sql.CharacterSet.make(CharacterSet.java:370)
[hibernatetool] at oracle.jdbc.dbaccess.DBConversion.<init>(DBConversion.java:116)
[hibernatetool] at oracle.jdbc.ttc7.TTCConversion.<init>(TTCConversion.java:85)
[hibernatetool] at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1728)
[hibernatetool] at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:215)
[hibernatetool] at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:360)
[hibernatetool] at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:521)
[hibernatetool] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:325)
[hibernatetool] at java.sql.DriverManager.getConnection(Unknown Source)
[hibernatetool] at java.sql.DriverManager.getConnection(Unknown Source)
[hibernatetool] at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
[hibernatetool] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
[hibernatetool] at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1877)
[hibernatetool] at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:38)
[hibernatetool] at org.hibernate.tool.ant.JDBCConfigurationTask.doConfiguration(JDBCConfigurationTask.java:73)
[hibernatetool] at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:55)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:179)
[hibernatetool] at org.hibernate.tool.ant.Hbm2DAOExporterTask.createExporter(Hbm2DAOExporterTask.java:22)
[hibernatetool] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
[hibernatetool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[hibernatetool] at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool] at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[hibernatetool] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[hibernatetool] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[hibernatetool] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[hibernatetool] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
generate:
main:
BUILD SUCCESSFUL
Total time: 5 seconds