On Thu, Feb 11, 2010 at 9:04 AM, Sameera Jayasoma <[email protected]> wrote:

>
>
> On Thu, Feb 11, 2010 at 3:15 AM, Ruwan Linton <[email protected]> wrote:
>
>> Sameera Jayasoma wrote:
>> >
>> >
>> > On Thu, Feb 11, 2010 at 2:14 AM, Ruwan Linton <[email protected]
>> > <mailto:[email protected]>> wrote:
>> >
>> >     Samisa Abeysinghe wrote:
>> >     >
>> >     >
>> >     > On Wed, Feb 10, 2010 at 11:22 PM, Sameera Jayasoma
>> >     <[email protected] <mailto:[email protected]>
>> >     > <mailto:[email protected] <mailto:[email protected]>>> wrote:
>> >     >
>> >     >
>> >     >
>> >     >     On Wed, Feb 10, 2010 at 11:06 PM, Samisa Abeysinghe
>> >     >     <[email protected] <mailto:[email protected]>
>> >     <mailto:[email protected] <mailto:[email protected]>>> wrote:
>> >     >
>> >     >         $subject
>> >     >
>> >     >         Builds up to features. But the product does not build due
>> to
>> >     >         some feature problem.
>> >     >
>> >     >
>> >     >     Warun uncovered a bug in Carbon p2 plugin while working on
>> >     the BPS
>> >     >     features and it has neen fixed now. Please take an update of
>> the
>> >     >     Carbon p2 plugin and re build from the features project.
>> >     >
>> >     >
>> >     > Where is this, in which folder?
>> >     It should come under [1] in the one checkout case, there is an
>> >     external
>> >     from the dependencies, the actual location is [2].
>> >
>> >     [1] - https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/
>> >     [2] -
>> >     https://svn.wso2.org/repos/wso2/trunk/tools/maven/carbon-p2-plugin
>> >
>> >
>> > This is a maven plugin, hence I don't think we need to put it under
>> > Carbon. Once the P2 plugin is stable, we need to release it and upload
>> > to our m2 repo. This needs to happen before the Iridium release.
>> Yes, agreed! but in-order for the one checkout one build model to be
>> working, you need an extern to this from carbon, hence it is still in
>> active development.
>>
>> Also, AFAIK, it is specific to carbon and carbon based products.
>> Basically it builds a custom zip file, with features and bundles... so
>> that the product profiles can be easily generated, Saminda/Sameera
>> correct me if I am wrong. Yes it can be used in other OSGi product
>> builds as well, but it has to be using the same plugin for profile
>> generation as well. Note that the name itself is carbon-p2-plugin :-) So
>> in-away it has to be inside carbon, for the proper configuration
>> management.
>>
>
> Nope. This plugin not specific to Carbon by any means, eventhough the name
> suggests so. This name should be changed :)
>
> Actually we are not building a custom zip, it is a standard feature zip
> file.
>

There are 2 aspects to this. One is that what P2 see as a feature is the
jar/folder containing the feature manifest (feature.xml). If that file is
available its the responsibility of P2 to find and install the dependencies
from any repo it can find them.

The other aspect is that how we ship a feature. For the sake of completeness
and availability it is a standard to ship the dependent bundles with the
feature (which is what a feature becomes for us).

Saminda


> This plugin contains three plugin goals.
>
> 1) Generate Features
> 2) Generate P2 repository
> 3) Install features (Profile generation is a result of this goal)
>
> All these actions are not specific to Carbon, hence they can be used in any
> other products depends on P2.
>
> Thanks
> Sameera
>
>>
>> Thanks,
>> Ruwan
>> >
>> > Thanks
>> > Sameera
>> >
>> >
>> >     Thanks,
>> >     Ruwan
>> >     > Samisa...
>> >     >
>> >     >
>> >     >     Build errors related to features can be found in the
>> >     following folder.
>> >     >
>> >     >
>> >
>> <>/<product>/module/p2-profile-gen/targert/p2-agent/configuration/*.log
>> >     >
>> >     >
>> >     >     Thanks
>> >     >     Sameera
>> >     >
>> >     >
>> >     >         --
>> >     >         Samisa Abeysinghe
>> >     >         Director, Engineering - WSO2 Inc.
>> >     >
>> >     >         http://wso2.com/ - "lean . enterprise . middleware"
>> >     >
>> >     >         _______________________________________________
>> >     >         Carbon-dev mailing list
>> >     >         [email protected] <mailto:[email protected]>
>> >     <mailto:[email protected] <mailto:[email protected]>>
>> >     >         https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >     >
>> >     >
>> >     >
>> >     >     _______________________________________________
>> >     >     Carbon-dev mailing list
>> >     >     [email protected] <mailto:[email protected]>
>> >     <mailto:[email protected] <mailto:[email protected]>>
>> >     >     https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >     >
>> >     >
>> >     >
>> >     >
>> >     > --
>> >     > Samisa Abeysinghe
>> >     > Director, Engineering - WSO2 Inc.
>> >     >
>> >     > http://wso2.com/ - "lean . enterprise . middleware"
>> >     >
>> >
>> ------------------------------------------------------------------------
>> >     >
>> >     > _______________________________________________
>> >     > Carbon-dev mailing list
>> >     > [email protected] <mailto:[email protected]>
>> >     > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >     >
>> >
>> >
>> >     --
>> >     Ruwan Linton
>> >     Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
>> >     WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org
>> >     email: [email protected] <mailto:[email protected]>; cell: +94 77 341
>> 3097
>> >     blog: http://blog.ruwan.org
>> >
>> >     Lean . Enterprise . Middleware
>> >
>> >
>> >     _______________________________________________
>> >     Carbon-dev mailing list
>> >     [email protected] <mailto:[email protected]>
>> >     https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Carbon-dev mailing list
>> > [email protected]
>> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>>
>>
>> --
>> Ruwan Linton
>> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
>> WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org
>> email: [email protected]; cell: +94 77 341 3097
>> blog: http://blog.ruwan.org
>>
>> Lean . Enterprise . Middleware
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to