Re: Installing ESA Files

2015-11-13 Thread David Bosschaert
Hi Roy, It's looking for an provider of the osgi.service capability for the service org.apache.sling.event.jobs.JobManager. Normally those requirements are of type 'effective:=active'... as they are a hint to a provisioning system but should not influence resolution. This service is provided by

Re: Installing ESA Files

2015-11-13 Thread David Bosschaert
Hi Roy, On the face of it this shouldn't be a problem. Both chains boil down to the same origin (the framework) so this should be absolutely fine as far as I can see. Would it be possible to create a little test case for it and uploading it to the Aries JIRA [1]? Since you say that it doesn't

Re: Installing ESA Files

2015-11-13 Thread Roy Teeuwen
Hey David, I found the problem. It seems that OSGi is a lot more strict when using subsystems. I had the following embedded dependency: com.squeakysand.osgi squeakysand-osgi 0.4.0 This generated the following import-package in the manifest file:

Re: Installing ESA Files

2015-11-13 Thread Roy Teeuwen
Hey David, https://issues.apache.org/jira/browse/ARIES-1452 with test case Cheers, Roy > On 13 Nov 2015, at 22:33, Roy Teeuwen wrote: > > Hey David, > > I will definitely do that, seeing as I now know the cause of the

Re: Installing ESA Files

2015-11-13 Thread Roy Teeuwen
Hey David, Thanks for the help so far, I seem to have found the problem for this one :). When looking at the mdm-parser-core’s generated manifest file I found the Require-Capability header, generated by using maven-bundle-plugin 2.5.4. I upgraded to 3.0.1 and that issue was resolved. But

Re: Installing ESA Files

2015-11-13 Thread Roy Teeuwen
Hey David, I will definitely do that, seeing as I now know the cause of the problem and I can reproduce it :), thanks! Greets, Roy > On 13 Nov 2015, at 22:31, David Bosschaert wrote: > > Hi Roy, > > On the face of it this shouldn't be a problem. Both chains boil

Re: Installing ESA Files

2015-11-12 Thread David Bosschaert
Hi Roy, You currently have a couple of options in Sling to install subsystems. 1. Directly by calling the OSGi Subsystem Service https://osgi.org/javadoc/r6/enterprise/org/osgi/service/subsystem/Subsystem.html but this requires you to create some code around it. 2. With the webconsole subsystem

Installing ESA Files

2015-11-12 Thread Roy Teeuwen
Hey all, I have fetched the sling launchpad 8 from maven central and I made a subsystem with the esa maven plugin from apache aries. Now when I want to install it, I get a popup with the error “You cannot select a .esa file. Try again…" Is this not the way to install OSGi subsystems? And would

Re: Installing ESA Files

2015-11-12 Thread Roy Teeuwen
Hey David, I’m currently using the Sling launchpad 9-SNAPSHOT, and I can indeed directly install the subsystems felix webconsole, so perfect, thanks! But now when I try to iinstall an esa I get following exception. Is there anything extra I should to do get it working in Sling? 13.11.2015

Re: Installing ESA Files

2015-11-12 Thread Roy Teeuwen
Hey David, Ok very cool, thanks for the info! Is there any willingness to also make the maven-bundle-plugin install esa files? This would surely be a lot handier when integrating the esa files into a CI system. Greetings, Roy > On 12 Nov 2015, at 11:11, David Bosschaert

Re: Installing ESA Files

2015-11-12 Thread Roy Teeuwen
Hey David, I tried your second approach. I first installed subsystems on felix by following this guide: http://coderthoughts.blogspot.be/2014/01/osgi-subsytems-on-apache-felix.html Afterwords I tried to install a

Re: Installing ESA Files

2015-11-12 Thread David Bosschaert
Hi Roy, On 12 November 2015 at 10:17, Roy Teeuwen wrote: > Is there any willingness to also make the maven-bundle-plugin install esa > files? This would surely be a lot handier when integrating the esa files into > a CI system. I'm not sure whether the maven-bundle-plugin is

Re: Installing ESA Files

2015-11-12 Thread David Bosschaert
Hi Roy, That blog post references old-ish versions of the relevant bundles. You might want to take a look at http://aries.apache.org/modules/subsystems.html for a newer list of bundles required. Alternatively you can just use the latest Sling launchpad (9-SNAPSHOT, which you'd have to build

Re: Installing ESA Files

2015-11-12 Thread Roy Teeuwen
Hey David, Hehe sorry, of course, I meant the sling-maven-plugin ;). Was mixing it up a bit. It would be great if the sling maven plugin could also install esa files Greetings, Roy > On 12 Nov 2015, at 13:56, David Bosschaert wrote: > > Hi Roy, > > On 12 November

Re: Installing ESA Files

2015-11-12 Thread Roy Teeuwen
Perfect! Thanks :) Greets Roy > On 12 Nov 2015, at 13:24, David Bosschaert wrote: > > Hi Roy, > > That blog post references old-ish versions of the relevant bundles. > You might want to take a look at > http://aries.apache.org/modules/subsystems.html for a newer