David Demner wrote:
You put them in %WEBAPPROOT%\WEB-INF\conf\torque.properties
Did that, but still not working. Got this:
> maven torque:create-db
BUILD FAILED
File...... C:\Documents and Settings\USER\.maven\cache\maven-torque-plugin-3.1.1\plugin.jelly
Element... sql
Line...... 394
Column.... 44
Class Not Found: JDBC driver could not be loaded
So i checked that line.
<sql
autocommit="true"
driver="${torque.database.driver}"
onerror="continue"
password="${torque.database.password}"
src="${torque.sql.dir}/create-db.sql"
url="${torque.database.createUrl}"
userid="${torque.database.user}">
<classpath refid="torque-classpath"/>
</sql>Obviously it wants torque.database.* So i tried to set these properties:
torque.database.createUrl = jdbc:mysql://localhost:3306/ torque.database.buildUrl = jdbc:mysql://localhost:3306/dbkg torque.database.url = jdbc:mysql://localhost:3306/dbkg torque.database.driver = org.gjt.mm.mysql.Driver torque.database.user = dbkg torque.database.password = ******* torque.database.host = localhost
Still no luck. Same result.
But maven -X says that .maven\repository\mysql\jars\mysql-connector-java-2.0.14-bin.jar is in the classpath. I'm lost.
Any wild guesses?
-- Michael Kunze http://www.smrealms.de
How much Sex can you have? - I don't know. I havn't maxed out yet. (John Crichton in Farscape)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
