I created an OSGI bundle which I installed in AEM using system/console. I'm now creating a package to be installed in the testing and production environments. As a security precaution I can't install OSGI bundles in this environments. How can I create a package that can install an OSGI package without accessing system console? My idea was to add the location of the OSGI bundle in AEM to a package and install that but I can't find the location of the bundle. Any ideas?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
When you install a bundle directly via webconsole, it is not stored in the repository. You should package your bundle into a content-package and then install the content-package, then the bundle will be stored in the repository. That is the recommended approach and the maven archetypes create such a build structure.
Jörg
If you have bundle in the JCR then you can export it otherwise you can not.
How did you first install this OSGI bundle to the AEM instance which have it? Was it via Package? If so, then check the /apps/<appname>/install/ folder, the bundle might be there. Otherwise you can not.
-Kautuk
Hi,
When you install a bundle directly via webconsole, it is not stored in the repository. You should package your bundle into a content-package and then install the content-package, then the bundle will be stored in the repository. That is the recommended approach and the maven archetypes create such a build structure.
Jörg