Hi
I'm new to jetspeed so there may be an ob obvious answer to my question.
I'm having trouble with the build of js2 when i try
maven allClean allBuild

The error i'm getting is below.

I have tried to rename the classes12.zip to .jar and putting it in different
places and in the classpath. Nothing is doing me any good.
I've got a current cvs from this morning.

    [echo] Generating SQL schema creation scripts for Oracle
    [torque-sql] Using classpath
    [torque-sql] Generating to file
D:\jakarta-jetspeed-2\target\src\sql\oracle\
report.portal.sql.generation

BUILD FAILED
File...... D:\jakarta-jetspeed-2\maven.xml
Element... sql
Line...... 387
Column.... 39
Class Not Found: JDBC driver oracle.jdbc.driver.OracleDriver could not be
loaded


In my build.properties i've added the following (rows and changed them
accordingly whern i moved the clases12.jar around).

# Oracle 8i Driver Path Example, test and production
org.apache.jetspeed.test.jdbc.drivers.path=D:\Tomcat
4.1\shared\lib\classes12.jar;
org.apache.jetspeed.production.jdbc.drivers.path=D:\Tomcat
4.1\shared\lib\classes12.jar;

# -------------------------------------------------------------------------
# configure Oracle Test DB
# -------------------------------------------------------------------------
org.apache.jetspeed.test.database.default.name=oracle
org.apache.jetspeed.test.database.ojb.platform=oracle8i
org.apache.jetspeed.test.database.url=jdbc:oracle:thin:@db2:1521:info
org.apache.jetspeed.test.database.driver=oracle.jdbc.driver.OracleDriver
org.apache.jetspeed.test.database.user=portaltest_owner
org.apache.jetspeed.test.database.password=navug
# -------------------------------------------------------------------------
# configure Oracle Production DB
# -------------------------------------------------------------------------
org.apache.jetspeed.production.database.default.name=oracle
org.apache.jetspeed.production.database.ojb.platform=oracle8i
org.apache.jetspeed.production.database.url=jdbc:oracle:thin:@db2:1521:info
org.apache.jetspeed.production.database.driver=oracle.jdbc.driver.OracleDriv
er
org.apache.jetspeed.production.database.user=portal_owner
org.apache.jetspeed.production.database.password=navug
# -------------------------------------------------------------------------

Any help on how to get maven to find the oracle driver classes is much
welcomed.

thanks
/Martin

Reply via email to