Hi Johann,

Apart from the problem i have running it :-(, i also want to ask:

Are the old configuration propertyies 'outputFile' and 'drop' on
hbm2ddl supported ?

I get the error:
org.apache.maven.plugin.MojoExecutionException: Could not get ConfigurationTask.
       at 
org.codehaus.mojo.hibernate3.HibernateExporterMojo.getConfigurationTask(HibernateExporterMojo.java:162)
       at 
org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:75)
...

Herei is my config:
     <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>hibernate3-maven-plugin</artifactId>
       <executions>
         <execution>
           <id>export-db-schema</id>
           <phase>process-classes</phase>
           <goals>
             <goal>hbm2ddl</goal>
           </goals>
           <configuration>
             <goals>
               <goal>
                 <name>hbm2ddl</name>
                 <implementation>configuration</implementation>
               </goal>
             </goals>
             <configurationTaskProperties>
               <propertyfile>src/main/config/SYBASE.properties</propertyfile>

<namingstrategy>org.hibernate.cfg.ImprovedNamingStrategy</namingstrategy>
             </configurationTaskProperties>
           </configuration>
         </execution>
       </executions>
     </plugin>

Regards,
 Kostis

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to