You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Markus Umefjord <ma...@ladok.umu.se> on 2007/10/03 07:37:14 UTC

Which are the transitive dependencies for iBatis?

Hi,

 

I am using iBatis-2.3.0.677.jar, and I am trying to make AspectJ weave
pointcuts into the iBatis source code. However, I fail due to lack of some
of the transitive dependencies in my classpath. To fix that I need to know a
few things about the dependencies for iBatis that I can’t find on the web
site. 

 

What are the versions of the libraries used by iBatis (i.e. oscache, jta,
commons-dbcp, commons-logging)? Do you have any dependency report a lá Maven
2 available?

 

Example output from the AspectJ weaver:

 

…

can't determine superclass of missing type
com.opensymphony.oscache.general.GeneralCacheAdministrator

when weaving type com.ibatis.sqlmap.engine.cache.oscache.OSCacheController

…

can't determine superclass of missing type javax.transaction.UserTransaction

when weaving type com.ibatis.sqlmap.engine.transaction.jta.JtaTransaction

…

can't determine superclass of missing type
org.apache.commons.dbcp.BasicDataSource

when weaving type com.ibatis.common.jdbc.DbcpConfiguration

…

can't determine superclass of missing type org.apache.commons.logging.Log

when weaving type
com.ibatis.common.logging.jakarta.JakartaCommonsLoggingImpl

…

 

Thanks!

 

/Markus

 


Re: Which are the transitive dependencies for iBatis?

Posted by Jeff Butler <je...@gmail.com>.
You can look here to see the JARs used in the iBATIS build:

http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/devlib/

OSCACHE is different - because of licensing issues we don't use their JAR in
the build.  Rather, we use stubbed versions of the classes we are dependent
on during the build.

It is likely that any recent version of these JARS will work with iBATIS
when building from source.

Jeff Butler


On 10/3/07, Markus Umefjord <ma...@ladok.umu.se> wrote:
>
>  Hi,
>
>
>
> I am using iBatis-2.3.0.677.jar, and I am trying to make AspectJ weave
> pointcuts into the iBatis source code. However, I fail due to lack of some
> of the transitive dependencies in my classpath. To fix that I need to know a
> few things about the dependencies for iBatis that I can't find on the web
> site.
>
>
>
> What are the versions of the libraries used by iBatis (i.e. oscache, jta,
> commons-dbcp, commons-logging)? Do you have any dependency report a lá Maven
> 2 available?
>
>
>
> Example output from the AspectJ weaver:
>
>
>
> …
>
> can't determine superclass of missing type
> com.opensymphony.oscache.general.GeneralCacheAdministrator
>
> when weaving type com.ibatis.sqlmap.engine.cache.oscache.OSCacheController
>
> …
>
> can't determine superclass of missing type
> javax.transaction.UserTransaction
>
> when weaving type com.ibatis.sqlmap.engine.transaction.jta.JtaTransaction
>
> …
>
> can't determine superclass of missing type
> org.apache.commons.dbcp.BasicDataSource
>
> when weaving type com.ibatis.common.jdbc.DbcpConfiguration
>
> …
>
> can't determine superclass of missing type org.apache.commons.logging.Log
>
> when weaving type
> com.ibatis.common.logging.jakarta.JakartaCommonsLoggingImpl
>
> …
>
>
>
> Thanks!
>
>
>
> /Markus
>
>
>