Hi Alex,

Thanks for the information. Using <Embed-Dependency> I have overcome the
AXIS2-ADB ClassNotFound Exception. But really couldn't able to integrate
AXIS2 with sling5.After putting this tag lots of other dependencies has  
come-up which is actually preventing me to activate my bundle. Some of this
are as follows.

!! com.sun.javadoc,version=0.0.0 from -- Cannot be resolved
!! com.sun.mirror.declaration,version=0.0.0 from -- Cannot be resolved
!! com.sun.org.apache.xerces.internal.parsers,version=0.0.0 from -- Cannot
be resolved
!! com.sun.org.apache.xerces.internal.util,version=0.0.0 from -- Cannot be
resolved
!! com.sun.org.apache.xerces.internal.xni.parser,version=0.0.0 from --
Cannot be resolved
!! com.sun.tools.javac,version=0.0.0 from -- Cannot be resolved
!! com.sun.tools.javadoc,version=0.0.0 from -- Cannot be resolved



If you have done this before then can you please put some light on this. If
this is a limitation Felix having then we need to start thinking seriously
on this.

Regards,
Sujoy 
 

-----Original Message-----
From: Alexander Klimetschek [mailto:[email protected]] 
Sent: Thursday, November 12, 2009 8:02 PM
To: [email protected]
Subject: Re: How to Integrate Axis2 with Sling 5

On Thu, Nov 12, 2009 at 15:09, Sujoy <[email protected]>
wrote:
> Actually I am having the flowing as a part of dependency which should
> download and install axis2-adb automatically.
>
> <dependency>
>                <groupId>org.apache.axis2</groupId>
>                <artifactId>org.apache.axis2.osgi</artifactId>
>                <version>1.5</version>
> </dependency>

Did you deploy that bundle into Sling? The exception happens at
runtime. Having it just as a dependency in your project's pom and then
deploying that project's bundle onto sling won't automatically deploy
dependencies.

For bundles that are common and might be used by other bundles as
well, it makes sense to deploy them separately. Otherwise, if it's
only an implementation-specific helper library for your project
bundle, you can use the maven-bundle-plugin [1] and the
<EmbedDependency> configuration.

[1] http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4599 (20091112) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4603 (20091113) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

Reply via email to