You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by jeff ort <je...@sourcelabs.com> on 2005/05/26 01:29:55 UTC

Jdbc2

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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Jdbc2

Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
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" <cr...@gmail.com>
Sent: Friday, May 27, 2005 6:32 AM


On 5/25/05, jeff ort <je...@sourcelabs.com> 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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Jdbc2

Posted by Craig McClanahan <cr...@gmail.com>.
On 5/25/05, jeff ort <je...@sourcelabs.com> 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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org