Hi, On Tue, Jan 3, 2012 at 11:44 PM, Senaka Fernando <[email protected]> wrote:
> Hi Pradeep, > > I do understand the fact that this is perhaps the P2 convention, which > we've violated for some reason in the first place. But, now when we are > changing this, what other aspects would require changing. What about the > extensions that people build? How will dropins work and all? > extensions and drophins will work regardless of the jar name. (it was/is the case). The problems arise when during existing jar replacement. (patching). we are modifying the patching code, so that our patching process will work without a problem. (the patching code takes care of the conversion.) apart from that me & Sameera could not think of any other aspects that require changes, at-least for the moment. thanks, --Pradeep > > Thanks, > Senaka. > > On Tue, Jan 3, 2012 at 11:42 AM, Pradeep Fernando <[email protected]>wrote: > >> Hi all, >> >> More descriptive explanation. >> >> * in maven build the artifacts are generated as >> "org.wso2.carbon.foo-x.y.z.SNAPSHOT" >> * The default p2-director changes this name to >> "org.wso2.carbon.foo_x.y.z.SNAPSHOT", during bundle installation to >> /plugins folder. >> * Earlier carbon versions used to alter this behaviour by patching >> p2-director/related bundles. >> *During the migration we made sure that there are minimal set of patched >> bundles (equinox) - right now only one(simpleConfigurator) >> *If we are going to change "_" to "-" we have to patch two environments >> 1. The director related bundles in repository/components/pluigns - >> fascilitate feature installation from carbon-console >> 2. The director found in p2-equinox minimal distribution - p2_agent >> * we are no longer maintaining a p2_agent within our sources. This makes >> it trivial to migrate to future equinox versions. >> * we may have to change the patching code to transparently change "-" to >> "_" conversion during patching. >> >> >> thanks, >> --Pradeep >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Senaka Fernando* > Product Manager - WSO2 Governance Registry; > Associate Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Pradeep Fernando Software Engineer WSO2 Inc; http://wso2.com/ blog: http://pradeepfernando.blogspot.com/ m: +94776603662
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
