-->
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.  [ 12 posts ] 
Author Message
 Post subject: [SchemaExport] Could not configure Datastore
PostPosted: Sun Dec 25, 2005 1:50 pm 
Newbie

Joined: Tue Jul 26, 2005 6:26 am
Posts: 15
I'm trying to create DDL for a simple mapping file using ant and schemaexport.

I've been trying everything I know, but the problem still remains: "Could not configure the datastore". I've read various threads discussing the same problem. In some of them the solution was to include the .class file of the classes to be mapped in the classpath for schemaexport which I have done. But unfortunately the problem remains.

Anyone got some clue??

Thanks in advance.
Martin


Hibernate version: 3.1

Mapping documents: Employee.hbm.xml


<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="de.fhma.oo217.server">

<!-- Gemeinsame Attribute (keine Tabelle) -->
<class abstract="true" name="Employee">
<id name="username">
<column name="userid" sql-type="varchar" length="20"/>
<generator class="assigned"/>
</id>
<property name="password">
<column name="password" sql-type="char" length="32"/>
</property>
<property name="firstname">
<column name="firstname" sql-type="varchar" length="30"/>
</property>
<property name="lastname">
<column name="lastname" sql-type="varchar" length="30"/>
</property>
<property name="department">
<column name="department" sql-type="varchar" length="10"/>
</property>

<!-- Tabelle der Dozenten -->
<union-subclass name="Instructor" table="INSTRUCTORS"/>

<!-- Tabelle der Assistenten -->
<union-subclass name="Assistant" table="ASSISTANTS"/>
</class>

</hibernate-mapping>

Full stack trace of any exception that occurs:

Buildfile: E:\Dokumente\Studium\OO2\Datenbank\build.xml
generate:
[echo] Erstelle Schemata...
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] java.util.zip.ZipException: error in opening zip file
[schemaexport] at java.util.zip.ZipFile.open(Native Method)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at java.util.zip.ZipFile.<init>(Unknown Source)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
[schemaexport] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
[schemaexport] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[schemaexport] at org.apache.log4j.LogManager.<clinit>(LogManager.java:96)
[schemaexport] at org.apache.log4j.Logger.getLogger(Logger.java:94)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[schemaexport] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[schemaexport] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[schemaexport] at java.lang.reflect.Constructor.newInstance(Unknown Source)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[schemaexport] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[schemaexport] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[schemaexport] at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:110)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:182)
[schemaexport] at org.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
[schemaexport] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[schemaexport] at org.apache.tools.ant.Task.perform(Task.java:364)
[schemaexport] at org.apache.tools.ant.Target.execute(Target.java:341)
[schemaexport] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[schemaexport] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[schemaexport] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[schemaexport] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[schemaexport] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[schemaexport] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[schemaexport] log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
[schemaexport] log4j:WARN Please initialize the log4j system properly.

BUILD FAILED
E:\Dokumente\Studium\OO2\Datenbank\build.xml:20: Schema text failed: Could not configure datastore from file: src/de/fhma/oo217/server/Employee.hbm.xml

Total time: 2 seconds


Name and version of the database you are using: MySQL 4.1


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 25, 2005 4:07 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
dont put non-zip/jar's as hbm.xml in the classpath - ant will try and read them as zip files.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 7:07 am 
Newbie

Joined: Tue Jul 26, 2005 6:26 am
Posts: 15
Hi Max,

which files are present in the classpath at all?
Only those referenced by the "classpathref" attribute?

In this case, only .jar and .class files are included:

Code:
<path id="hibernate.task.classpath">
   <fileset dir="lib">
      <include name="*.jar" />
   </fileset>
   <fileset dir="bin">
      <include name="**/*.class"/>
   </fileset>
</path>


So where am I supposed to do changes?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 8:09 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
.class files is not zip/jar files are they ? ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 9:07 am 
Newbie

Joined: Tue Jul 26, 2005 6:26 am
Posts: 15
Indeed not, but if I don't include them on the classpath, I just get the classical error message and no further data:

Quote:
E:\Dokumente\Studium\OO2\Datenbank\build.xml:20: Schema text failed: Could not configure datastore from file: src/de/fhma/oo217/server/Employee.hbm.xml


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 9:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
well that is because you with .class directly in the classpath makes an error before you reach this new error.

run ant with -debug or -verbose and get a full stacktrace with more information.

I guess you simply haven't included the directory with the .class'es in the classpath. (note: *directory* not the files)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 07, 2006 3:16 pm 
Newbie

Joined: Tue Jul 26, 2005 6:26 am
Posts: 15
Interesting.

After some time of letting the ant script alone, I tried to run ant from the command line for the first time.

Code:
ant -f build.xml -lib ./jar -lib ./bin


(The directory lib contains the .JARs and bin the .CLASSs)

Now I get the message, that the jump target "end" could not be found, but anyway, the schema is generated.


If I run Ant from within Eclipse, it still doesn't work.

Do you have an idea why this is so?



Cheers,
Martin


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 07, 2006 6:49 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
because you are putting extra stuff on the classpath via the -lib argument it will behave differently than running from eclipse wher eyou dont do that.

and what is jump target "end" ?

And as i told you, you should not include *.class files into the classpath definition, only directories/jarsr.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 07, 2006 7:26 pm 
Newbie

Joined: Tue Jul 26, 2005 6:26 am
Posts: 15
max wrote:
because you are putting extra stuff on the classpath via the -lib argument it will behave differently than running from eclipse wher eyou dont do that.


I've just found out that I don't need the lib directory. So I only put bin to the classpath, and that what I think Eclipse also puts there. But obviosly it doesn't. So I have to find out what Eclipse puts there, right?



max wrote:
and what is jump target "end" ?


I wish I knew... This word doesn't eben appear in my build.xml!

max wrote:
And as i told you, you should not include *.class files into the classpath definition, only directories/jarsr.


How do I do this?

Remember, my build.xml looks like the following:

Quote:
<?xml version="1.0" encoding="UTF-8"?>
<project name="OO2" default="generate">

<property file="build.properties" />

<target name="generate" description="Erstellt die Schemata.">

<path id="hibernate.task.classpath">
<fileset dir="lib">
<include name="*.jar" />
</fileset>
<!--<fileset dir="bin">
</fileset>-->
</path>

<echo message="Erstelle Schemata..." />
<taskdef name="schemaexport" classname="org.hibernate.tool.hbm2ddl.SchemaExportTask" classpathref="hibernate.task.classpath" />

<schemaexport config="src/de/fhma/oo217/server/hibernate.cfg.xml" quiet="no" text="yes" drop="no" delimiter=";" output="ddl/schema-export.sql">
</schemaexport>

</target>

</project>


It works from commandline and not from within Eclipse, it doesn't matter if I remove the comments (i.e. include the bin directory) or if I let them in.

The strange thing is that I used this schema export half a year ago and it worked without problems. Unfortunately, I don't have the code anymore.

Well, if I don't find a solution, I can at least use a batch file.


Anyway, thanks for your patience, Max!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 08, 2006 2:42 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
i think you need to find out where that "end" stuff is because it indicates to me you are not running the same ant file from the 2 environments.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 09, 2006 12:07 pm 
Regular
Regular

Joined: Sat Nov 06, 2004 5:20 pm
Posts: 54
Location: Collierville, TN
To include your non-zipped/non-jarred classes, do something like this:

Code:
<path id="project.classpath">
  <pathelement location="${build.classes.dir}" />
</path>

Where "${build.classes.dir}" would be the directory you are compiling into.

Then reference this path when/where you want these .classes found:
Code:
<path refid="project.classpath" />


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 10, 2006 2:28 pm 
Newbie

Joined: Tue Jul 26, 2005 6:26 am
Posts: 15
Thank you very, very much, jruffin!

That did it!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.