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
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes