Hello Kotis

What I believe you want to is:

<configurationTaskProperties
namingstrategy='org.hibernate.cfg.ImprovedNamingStrategy'>
  <propertyfile>src/main/config/SYBASE.properties</propertyfile>
  <namingstrategy>org.hibernate.cfg.ImprovedNamingStrategy</namingstrategy>
  <outputfilename>SYBASE.frepor-ddl.sql</outputfilename>
  <export>false</export>
  <drop>true</drop>
</configurationTaskProperties>

Let me know how it goes, and I guess next step for me is to finish the doco.

Regards

Johann Reyes


-----Original Message-----
From: Kostis Anagnostopoulos [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 30, 2006 6:08 AM
To: [email protected]
Subject: Re: [mojo-dev] [hibernate3-maven-plugin] Testers needed

Hi Johann,

On 11/30/06, Johann Reyes <[EMAIL PROTECTED]> wrote:
> Hello Kotis
>
> Are the old configuration propertyies 'outputFile' and 'drop' on
> hbm2ddl supported ?
>
> - All the properties for hibernate-tools are supported. You can found then
> here:
> http://www.hibernate.org/hib_docs/tools/reference/en/html_single/#d0e975 .
> And to answer your question, 'drop' yes, and 'outputFile' was renamed to
> 'outputfilename'.

But i can't make them work.  Here is all the efforts i've tried, in
one configTask:
(Note that naming strategy does not work either)

              <configurationTaskProperties
              namingstrategy='org.hibernate.cfg.ImprovedNamingStrategy'>
 
<propertyfile>src/main/config/SYBASE.properties</propertyfile>

<namingstrategy>org.hibernate.cfg.ImprovedNamingStrategy</namingstrategy>
                <hbm2ddl
                outputfilename='SYBASE.frepor-ddl.sql'
                export='false'
                drop='true'
                >
                  <outputfilename>SYBASE.frepor-ddl.sql</outputfilename>
                  <export>false</export>
                  <drop>true</drop>
                </hbm2ddl>
                <outputfilename>SYBASE.frepor-ddl.sql</outputfilename>
                <export>false</export>
                <drop>true</drop>
                <fileset dir="${src.dir}">
                 <include name="**/*.hbm.xml"/>
                 <exclude name="**/*Test.hbm.xml"/>
                </fileset>
                </configurationTaskProperties>

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

    http://xircles.codehaus.org/manage_email




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

    http://xircles.codehaus.org/manage_email

Reply via email to