Sorry if this has been asked and answered, but I searched to no avail:

 

I'm autogenerating hibernate mappings and so I have my usual
project.properties file with the following:

 

maven.xdoclet.hibernatedoclet.fileset.0=true

maven.xdoclet.hibernatedoclet.fileset.0.dir=${maven.src.dir}/java

maven.xdoclet.hibernatedoclet.fileset.0.include=**/*.java

maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0

 

I noted somewhere that you should be able to do something like this in
the project.properties:

maven.hibernate.properties=conf/hibernate.properties

 

This would allow you to remove the maven.xdoclet.hibernatedoclet.xx
lines 

and move them into the new hibernate.properties

located in conf. this doesn't seem to work 

 

I've also tried the usual (in the project.xml):

 

<resource>

       <directory>conf</directory>

       <includes>                    

            <include>hibernate.properties</include>

        </includes>

 </resource>

 

And even:

<properties>conf/hibernate.properties</properties>

 

Nada, zip, bupkis,

 

Any help?

 

/hba 

 

Reply via email to