I had a similar problem, and it went away after I created a 'setup.properties' file. I have a turbine.apps directory and create sub-directories for various projects. In the subdirectory I have a setup.properties file, eg:

turbine.app.name =              ocip
turbine.app.flavor =            turbine-2.3.1
turbine.app.package =           com.adept.ocip
turbine.app.om.layer =          torque
turbine.app.om.name =           ocip
turbine.app.om.package =        com.adept.ocip.om
turbine.app.om.security.name =  ocip
turbine.app.om.security.package = com.adept.ocip.om
turbine.app.subdir =            false
turbine.app.setup.demo =        true
turbine.plugin.mode =           normal
maven.appserver.name =          tomcat
maven.appserver.home =          /usr/local/tomcat
...

see the 'Using M.E.T.A.' page. I assume the above is what made things work, although I have made corresponding changes in my build.properties file

'maven turbine:setup' executed within the directory containing the above setup file will use my package

Rankin



Jeffery Painter wrote:
I'm trying to override the default turbine.app.project property in my build.properties file and it never seems to take... the turbine:setup goal continues to create the app under the org.apache.turbine.app.appname package.

using maven v 1.0.2 and maven-turbine-plugin-1.2.jar

any pointers Henning?


properties listing:

#
# app config
#
turbine.app.name = shoppingCart

#
# package config
#
turbine.app.package =                   com.kiasoft.shoppingCart
turbine.app.om.name =                   shoppingCart
turbine.app.om.layer =                  torque
turbine.app.om.package =                com.kiasoft.shoppingCart.om
turbine.app.om.security.name =          shoppingCart
turbine.app.om.security.package =       com.kiasoft.shoppingCart.om

turbine.app.flavor=turbine-2.3.1
turbine.app.om.layer=torque
turbine.app.setup.demo=false







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to