First take on META:
I created a setup.properties file to begin my new test application
-------------------------------------------------------------------
#
# META sample application
# setup.properties
#
# where is tomcat?
maven.appserver.home = /home/painter/tomcat
# name of application
turbine.app.name = jobs
# application settings
turbine.app.package = net.jobs
turbine.app.om.package = net.jobs.om
# Torque setup
torque.database = mysql
torque.database.driver = org.gjt.mm.mysql.Driver
torque.database.user = user
torque.database.password = password
torque.database.buildUrl = jdbc:mysql://localhost/jobs
torque.database.createUrl = jdbc:mysql://localhost/
-------------------------------------------------------------------
The readme file in the jakarta-turbine-2/extensions/maven-plugin/README
didn't make it very clear what the steps were, but your online
documentation did help me figure it out.
I ran "maven turbine:setup" and it created a folder called ./jobs
The next step was to change into this new directory ./jobs before
issuing the next command "maven turbine:deploy"... I was trying to run
the command in the same directory before figuring out why it wasn't
working.
next, for some reason, maven turbine:deploy requested I have the postgres
jdbc drivers in the project.xml dependencies even though I specified I
wanted to use mysql as my database. I had to manually remove the
dependency from the project.xml since I don't have postgres installed on
this machine, nor the required drivers.
lastly, the deployment wanted to put the newly created app in /webapps
and not my container /home/painter/tomcat/webapps directory
I created a temp directory on the root called /webapps and it did deploy
I was able to move the deployed app into my tomcat container and it loaded
up perfectly.
I'm not sure why it doesn't recognize the container directive. Should I
define this somewhere else?
---------------------- snip --------------------------
jar:jar:
java:jar:
[echo] java:jar is deprecated and will be removed. Please use jar:jar
[echo] Installing to Appserver Directory: /webapps/jobs, Inplace:
false
[mkdir] Created dir: /webapps/jobs/WEB-INF/lib
[mkdir] Created dir: /webapps/jobs/WEB-INF/conf
[mkdir] Created dir: /webapps/jobs/WEB-INF/classes
[mkdir] Created dir: /webapps/jobs/logs
[mkdir] Created dir: /webapps/jobs/templates
---------------------- snip --------------------------
Cool stuff Henning!
Jeff Painter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]