You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Ian Boston <ie...@tfd.co.uk> on 2012/08/16 00:57:03 UTC

Sling Drools

Hi,
(Exposing my ignorance).
I see the Drools compiler is in the latest release of the Sling
launchpad. Out of pure curiosity, whats it being used for ?
Ian

Re: Sling Drools

Posted by Ian Boston <ie...@tfd.co.uk>.
On 16 August 2012 11:34, Justin Edelson <ju...@justinedelson.com> wrote:
> On Wed, Aug 15, 2012 at 7:08 PM, Ian Boston <ie...@tfd.co.uk> wrote:
>
>> On 16 August 2012 09:06, Justin Edelson <ju...@gmail.com> wrote:
>> > Hi Ian,
>> > Are you referring to the Maven Launchpad plugin?
>>
>> yes, just curious, nothing more.
>>
>
> np. I thought you meant it got into Launchpad itself which would be weird
> IMHO.
>
> This feature was added in https://issues.apache.org/jira/browse/SLING-1795.
> The basic idea is that the plugin uses Drools rules to transform the bundle
> list in some way. There are two examples in the
> launchpad/testing/src/test/rules - one that uses the bundles built during
> the reactor and the other uses emma-instrumented bundles.

cool & interesting,
Thanks
Ian

>
> I do remember seeing an email recently from Reto that this isn't working
> properly for partial bundle lists, but to be honest, I haven't had a chance
> to look into that further.
>
> Justin
>
>
>> Ian
>>
>> >
>> > Justin
>> > On Aug 15, 2012 6:57 PM, "Ian Boston" <ie...@tfd.co.uk> wrote:
>> >
>> >> Hi,
>> >> (Exposing my ignorance).
>> >> I see the Drools compiler is in the latest release of the Sling
>> >> launchpad. Out of pure curiosity, whats it being used for ?
>> >> Ian
>> >>
>>

Re: Sling Drools

Posted by Justin Edelson <ju...@justinedelson.com>.
On Wed, Aug 15, 2012 at 7:08 PM, Ian Boston <ie...@tfd.co.uk> wrote:

> On 16 August 2012 09:06, Justin Edelson <ju...@gmail.com> wrote:
> > Hi Ian,
> > Are you referring to the Maven Launchpad plugin?
>
> yes, just curious, nothing more.
>

np. I thought you meant it got into Launchpad itself which would be weird
IMHO.

This feature was added in https://issues.apache.org/jira/browse/SLING-1795.
The basic idea is that the plugin uses Drools rules to transform the bundle
list in some way. There are two examples in the
launchpad/testing/src/test/rules - one that uses the bundles built during
the reactor and the other uses emma-instrumented bundles.

I do remember seeing an email recently from Reto that this isn't working
properly for partial bundle lists, but to be honest, I haven't had a chance
to look into that further.

Justin


> Ian
>
> >
> > Justin
> > On Aug 15, 2012 6:57 PM, "Ian Boston" <ie...@tfd.co.uk> wrote:
> >
> >> Hi,
> >> (Exposing my ignorance).
> >> I see the Drools compiler is in the latest release of the Sling
> >> launchpad. Out of pure curiosity, whats it being used for ?
> >> Ian
> >>
>

Re: Sling Drools

Posted by Ian Boston <ie...@tfd.co.uk>.
On 16 August 2012 09:06, Justin Edelson <ju...@gmail.com> wrote:
> Hi Ian,
> Are you referring to the Maven Launchpad plugin?

yes, just curious, nothing more.
Ian

>
> Justin
> On Aug 15, 2012 6:57 PM, "Ian Boston" <ie...@tfd.co.uk> wrote:
>
>> Hi,
>> (Exposing my ignorance).
>> I see the Drools compiler is in the latest release of the Sling
>> launchpad. Out of pure curiosity, whats it being used for ?
>> Ian
>>

Re: Sling Drools

Posted by Justin Edelson <ju...@gmail.com>.
Hi Ian,
Are you referring to the Maven Launchpad plugin?

Justin
On Aug 15, 2012 6:57 PM, "Ian Boston" <ie...@tfd.co.uk> wrote:

> Hi,
> (Exposing my ignorance).
> I see the Drools compiler is in the latest release of the Sling
> launchpad. Out of pure curiosity, whats it being used for ?
> Ian
>