Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Refer Third Part jar in a bundle

nitin_singi11
Level 1
Level 1

Hi,

 

Guys could you please tell me how can i refer a jar in a OSGI bundle.

 

What i have done is i have installed my code as a bundle and other Jar file has a separate bundle.

But my code is not able to refer to that jar file.

Please help.

 

Thanks and Regards,

Nitin

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

Hi 

See this community article. It talks about developing a CQ Sling Servlet that uses a JSON lib. The JSON lib is in its own JAR file and is placed within a OSGi fragment and deployed to CQ. Now the bundle that uses the JSON lib can be deployed too. 

See: 

http://scottsdigitalcommunity.blogspot.ca/2013/06/posting-form-data-to-adobe-cq-using.html

HTH,

Scott

View solution in original post

1 Reply
smacdonald2008
Correct answer by
Level 10
Level 10

Hi 

See this community article. It talks about developing a CQ Sling Servlet that uses a JSON lib. The JSON lib is in its own JAR file and is placed within a OSGi fragment and deployed to CQ. Now the bundle that uses the JSON lib can be deployed too. 

See: 

http://scottsdigitalcommunity.blogspot.ca/2013/06/posting-form-data-to-adobe-cq-using.html

HTH,

Scott

View solution in original post