Re: Jdbc2

2005-05-27 Thread Niall Pemberton
Actually we still need the JDBC package to compile struts under JDK 1.3,
which is why it is still in the ant script. Action, ActionServlet,
ConfigHelper and ConfigHelperInterface all reference javax.sql.DataSource.
>From JDK 1.4 onwards the javax.sql stuff is part of the JDK and
jdbc20ext.jar is not necessary.

The new maven build system for Struts 1.3 doesn't compile under JDK 1.3 - I
posted a question recently on the dev. list about whether we had made the
decision to move to JDK 1.4 for Struts 1.3. Didn't get much reposnse, but
from memory, those that did, agreed with this. As it stands we have a
defacto decision to move to JDK 1.4.

Niall

- Original Message - 
From: "Craig McClanahan" <[EMAIL PROTECTED]>
Sent: Friday, May 27, 2005 6:32 AM


On 5/25/05, jeff ort <[EMAIL PROTECTED]> wrote:
> I am noticing that the Ant build scripts reference an optional
jdbc20ext.jar
> file, but the Maven build process does not.  I was wondering if there was
a
> reason why this was not used in the Maven build process?

The most likely explanation is that this library was required back in
Struts 1.1 days when (a) Struts included a JDBC DataSource
implementation, and (b) the JDKs of the time didn't include this API,
so you had to load it separately.  Neither is true any longer, so
there is no reason for the Maven build scripts to reference this JAR.



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



Re: Jdbc2

2005-05-26 Thread Craig McClanahan
On 5/25/05, jeff ort <[EMAIL PROTECTED]> wrote:
> I am noticing that the Ant build scripts reference an optional jdbc20ext.jar
> file, but the Maven build process does not.  I was wondering if there was a
> reason why this was not used in the Maven build process?

The most likely explanation is that this library was required back in
Struts 1.1 days when (a) Struts included a JDBC DataSource
implementation, and (b) the JDKs of the time didn't include this API,
so you had to load it separately.  Neither is true any longer, so
there is no reason for the Maven build scripts to reference this JAR.

Craig

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



Jdbc2

2005-05-25 Thread jeff ort
I am noticing that the Ant build scripts reference an optional jdbc20ext.jar
file, but the Maven build process does not.  I was wondering if there was a
reason why this was not used in the Maven build process?



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