Thanks Eric for the info. I put the dependency in the pom.xml in the Spring deployment and it worked, but I see the point of putting it in the lib dir.

Bing


--------------------------------------------------
From: "Eric Charles" <[email protected]>
Sent: Sunday, July 11, 2010 8:23 PM
To: "James Users List" <[email protected]>
Subject: Re: location for jar

Hi Bing,

Simply place the jar with the jdbc driver in
$JAMES_SRC/server/spring-deployment/src/main/config/james/lib/

'mvn package' will create the needed tar. When you untar, you will have
the jar in /conf/lib/ directory. All jar present in that directory are
loaded via the JamesClassLoader (tks to
-Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader
at startup).

Tks,

Eric


On 07/11/2010 02:03 PM, 冉兵 wrote:
Hi,

I need to use my JDBC driver in the Spring deployment in the 3.0 trunk code. Where shall I put my jar so it will be included in the distribution by the build process?

Thanks

Bing




---------------------------------------------------------------------
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]

Reply via email to