3 Replies Latest reply on Nov 2, 2004 8:38 PM by julien1

    Latest Nukes 2.0 source: Problems w/ setup.ddl for MySQL

    knifegun

      I am trying to get Nukes 2.0 working on MySQL. I got the latest source from CVS. I built nukes. When I try to generate the setup.ddl file in the ./core directory, I get the following error:

      UILD FAILED
      file:/home/chris/dev/nukes-2.0-DR-src/core/build.xml:197: taskdef class net.sf.hibernate.tool.hbm2ddl.SchemaExportTask cannot be found

      I added to the classpath the hibernate and related jars from a JBoss 3.2.6 installation. I also updated the core/src/resources/test/hibernate.properties file to point to MySQL database instance. The contents of my file are as follows:

      hibernate.connection.url=jdbc:mysql://bear:3306/nukes
      hibernate.connection.driver_class=com.mysql.jdbc.Driver
      hibernate.connection.username=root
      hibernate.connection.password=
      hibernate.c3p0.min_size=2
      hibernate.c3p0.max_size=2
      hibernate.c3p0.timeout=120
      hibernate.c3p0.max_statements=50
      hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect
      hibernate.show_sql=true


      After all this, it creates an empty setup.ddl file. Does anyone know how to resolve this issue or simply have the setup.ddl for MySQL 4.1 and Nukes 2.0?

      Thanks in advance.