I change the driver to Driver but I stiil get previouse error
like this:
BUILD FAILED
> File...... D:\try\jakarta-jetspeed-2\maven.xml
> Element... sql
> Line...... 355
> Column.... 39
> Class Not Found: JDBC driver com.mysql.jdbc.driver could not be loaded
> Total time: 14 seconds
> Finished at: Thu Nov 11 13:09:55 IRST 2004
I should say that my platform is windows 2000
"M.-Leander Reimer" <[EMAIL PROTECTED]> wrote:
Hi,
well according to the doc the mySQL driver is
com.mysql.jdbc.Driver
and not
com.mysql.jdbc.driver
(mind the capital D). Change the relevant properties and it should solve
your problems.
Leander
nafise hassani schrieb:
> I change the home directory and also maven repository directory too also I
> put "mysql" driver in to maven repository
>
> This is my new "build.properties" file :
>
> # jetspeed 2 home required for build
> org.apache.jetspeed.project.home = D:/try/jakarta-jetspeed-2
>
> # jetspeed required properties
> org.apache.jetspeed.server.home = D:/try/tomcat5.0
> org.apache.jetspeed.catalina.version.major = 5
> org.apache.jetspeed.server.shared =
> ${org.apache.jetspeed.server.home}/shared/lib
> org.apache.jetspeed.deploy.war.dir =
> ${org.apache.jetspeed.server.home}/webapps
> org.apache.jetspeed.services.autodeployment.user = j2deployer
> org.apache.jetspeed.services.autodeployment.password = j2deployer
>
> # jetspeed db build properties example for Hsqldb
> # Override the database connection and driverproperties in your
>
> ${USER_HOME}/build.properties appropriately
> # See:
> # http://portals.apache.org/jetspeed-2/database.html
> #org.apache.jetspeed.test.database.default.name=mysql
> org.apache.jetspeed.test.database.url = jdbc:mysql://192.168.0.120:3306/j2test
> org.apache.jetspeed.test.database.driver = com.mysql.jdbc.driver
> org.apache.jetspeed.test.database.user =root
> org.apache.jetspeed.test.database.password =
> org.apache.jetspeed.test.jdbc.drivers.path=${maven.home.local}/repository/mysql/jars/mysql-connector-java-3.0.10-stable-bin.jar
> org.apache.jetspeed.test.database.default.name=mysql
> #org.apache.jetspeed.test.database.ojb.platform=Hsqldb
>
> org.apache.jetspeed.production.database.url =
> jdbc:mysql://192.168.0.120:3306/j2
> org.apache.jetspeed.production.database.driver = com.mysql.jdbc.driver
> org.apache.jetspeed.production.database.user =root
> org.apache.jetspeed.production.database.password =
>
> org.apache.jetspeed.production.jdbc.drivers.path=${maven.home.local}/repository/mysql/jars/mysql-connector-java-3.0.10-stable-bin.jar
> org.apache.jetspeed.production.database.default.name=mysql
> #org.apache.jetspeed.production.database.ojb.platform=Hsqldb
>
> maven.proxy.host=192.168.0.1
> maven.proxy.port=4480
> org.apache.jetspeed.fusion=true
> maven.home.local=D:/try/.maven
>
>
>
> **************BUT I still get this error from command prompt:
>
>
>
> D:\try\jakarta-jetspeed-2>maven allBuild
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0
>
> build:start:
>
> allBuild:
> check.required.properties:
>
> torque:init:
>
> db.scripts.gen:
> [echo] Generating SQL schema creation scripts for HSQLDB
> [torque-sql] Using classpath
> [torque-sql] Generating to file D:\try\jakarta-jetspeed-2\target\src\sql\hsq
> l\report.portal.sql.generation
> [echo] Generating SQL schema creation scripts for MySQL
> [torque-sql] Using classpath
> [torque-sql] Generating to file D:\try\jakarta-jetspeed-2\target\src\sql\mys
> ql\report.portal.sql.generation
> [echo] Generating SQL schema creation scripts for Oracle
> [torque-sql] Using classpath
> [torque-sql] Generating to file D:\try\jakarta-jetspeed-2\target\src\sql\ora
> cle\report.portal.sql.generation
> [echo] Generating SQL schema creation scripts for MS SQL
> [torque-sql] Using classpath
> [torque-sql] Generating to file D:\try\jakarta-jetspeed-2\target\src\sql\mss
> ql\report.portal.sql.generation
> [echo] Generating SQL schema creation scripts for Postgres
> [torque-sql] Using classpath
> [torque-sql] Generating to file D:\try\jakarta-jetspeed-2\target\src\sql\pos
> tgres\report.portal.sql.generation
>
> BUILD FAILED
> File...... D:\try\jakarta-jetspeed-2\maven.xml
> Element... sql
> Line...... 355
> Column.... 39
> Class Not Found: JDBC driver com.mysql.jdbc.driver could not be loaded
> Total time: 14 seconds
> Finished at: Thu Nov 11 13:09:55 IRST 2004
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Check out the new Yahoo! Front Page. www.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com