RE: Problem building jetspeed2 with Oracle DB

2004-06-11 Thread Richard . Stokoe
I was able to build jetspeed 1.5 with oracle by putting the driver jar in
.../webapp/WEB-INF/lib.

-Original Message-
From: Martin Abrahamsson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 4:20 AM
To: [EMAIL PROTECTED]
Subject: Problem building jetspeed2 with Oracle DB


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem building jetspeed2

2004-03-29 Thread Serge Huber
I'm not entirely sure yet but I think it might be possible to set a 
dependency to a plugin in the project.xml. That would solve the problem we 
have currently with RC2.

Regards,
  Serge Huber.
At 16:40 29.03.2004, you wrote:
Hi François,

It's a problem with RC2 of Maven.  RC2 does not include the Torque plugin
like previous versions of Maven have.  There was a recent thread on
Jetspeed-dev about the same issue and how to solve it; you may want to check
there.  Basically, you need to download the Torque plugin from the Torque
project manually.
Hth,
**
| Scott T Weaver |
| [EMAIL PROTECTED]|
| Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
**
 -Original Message-
 From: zze-MORON François FTRD/DMI/REN
 [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 29, 2004 9:07 AM
 To: [EMAIL PROTECTED]
 Subject: Problem building jetspeed2

 First I'm totally new in jetspeed.
 I downloaded (cvs) jetspeed2 yesterday and I didn't manage to build it.
 Here are the messages :

 C:\Temp\jakarta-jetspeed-2quick_build
 JETSPEED_HOME: .
  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2


 BUILD FAILED
 File.. file:/C:/Temp/jakarta-jetspeed-2/maven.xml
 Element... attainGoal
 Line.. 55
 Column 39
 No goal [torque:init]
 Total time: 1 seconds
 Finished at: Mon Mar 29 15:52:23 CEST 2004

 What's wrong ?

 François
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- -- --- -=[ shuber2 at jahia dot com ]= --- -- -
www.jahia.org : A collaborative source CMS and Portal Server 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE : Problem building jetspeed2

2004-03-29 Thread zze-MORON François FTRD/DMI/REN
I only have to copy my torque plugin into maven\plugins directory 
(because that's what I did and it doesn't seem to work better) ?

François

-Message d'origine-
De : Weaver, Scott [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 29 mars 2004 16:40
À : 'Jetspeed Users List'
Objet : RE: Problem building jetspeed2


Hi François,

It's a problem with RC2 of Maven.  RC2 does not include the Torque plugin like 
previous versions of Maven have.  There was a recent thread on Jetspeed-dev about the 
same issue and how to solve it; you may want to check there.  Basically, you need to 
download the Torque plugin from the Torque project manually.

Hth,
** 
| Scott T Weaver |
| [EMAIL PROTECTED]| 
| Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
**

 -Original Message-
 From: zze-MORON François FTRD/DMI/REN 
 [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 29, 2004 9:07 AM
 To: [EMAIL PROTECTED]
 Subject: Problem building jetspeed2
 
 First I'm totally new in jetspeed.
 I downloaded (cvs) jetspeed2 yesterday and I didn't manage to build 
 it. Here are the messages :
 
 C:\Temp\jakarta-jetspeed-2quick_build
 JETSPEED_HOME: .
  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2
 
 
 BUILD FAILED
 File.. file:/C:/Temp/jakarta-jetspeed-2/maven.xml
 Element... attainGoal
 Line.. 55
 Column 39
 No goal [torque:init]
 Total time: 1 seconds
 Finished at: Mon Mar 29 15:52:23 CEST 2004
 
 What's wrong ?
 
 François

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]