hi,
I'm trying to generate my first turbine app with META, by entering the following command :
maven -Dturbine.setup.properties=setup.properties turbine:setup
Here is the error I get:
BUILD FAILED
File...... C:\Documents and Settings\Administrateur\.maven\cache\maven-turbine-p
lugin-1.2\plugin.jelly
Element... include
Line...... 857
Column.... 43
java.lang.NullPointerException
[INFO] App - -Total time: 3 seconds
[INFO] App - -Finished at: Tue Feb 01 04:57:51 GMT 2005
[INFO] App - -
I am running this command from the tomcat webapps directory
(C:\Program Files\Apache Group\Tomcat 4.1\webapps), where I have the project.xml
file, the setup.properties file, as well as the build.properties file.
This is the content of my project.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<project> <pomVersion>3</pomVersion> <id>myapp</id> <name>My first test</name> </project>
This is the content of my build.properties file:
maven.appserver.home = C:/Program Files/Apache Group/Tomcat 4.1 maven.appserver.name = tomcat
This is the content of my setup.properties file:
turbine.plugin.mode = inplace
turbine.app.name = myapp turbine.app.flavor = turbine-2.3.1 turbine.app.om.layer = torque turbine.app.setup.demo = false
torque.database = mysql torque.database.driver = com.mysql.jdbc.Driver torque.database.user = test torque.database.password = test torque.database.buildUrl = jdbc:mysql://localhost/myapp torque.database.createUrl = jdbc:mysql://localhost/myapp
The command generate the folders alright but there are no files in them despite the fact that
it is supposed to be copying some files from the turbine plugin.
Also, I put an <ant:echo message="${include}"> a couple of lines before the crashing include, in
the plugin.jelly file under the turbine plugin folder: it echoed "**/*".
I'm using a win2k SP4 box with tomcat 4.1.31, and maven 1.0.2. Is there anything I'm doing wrong or missing here?? Thanx.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
