I dont think we should load the repository during startup. Provisioning is not a requirement for server startup. The default URL appearing in the feature repository textbox is good enought IMHO.
--Pradeep On Wed, Feb 20, 2013 at 4:26 PM, Dileepa Jayakody <[email protected]> wrote: > > > On Wed, Feb 20, 2013 at 11:18 AM, Pradeep Fernando <[email protected]>wrote: > >> Since we are giving carbon.version during the product build time, how >> about having, >> >> http://dist.wso2.org/p2/carbon/releases/${carbon.version} >> <http://dist.wso2.org/p2/carbon/releases/4.0.5> >> >> as the default. Maven filters will replace the value. >> > +1. > Also if the repository isn't hosted/available, I think we should not give > an error at startup trying to load the given repository, and continue > startup without a default repository. > > Having said that, i don't see anything wrong with your approach as well, >> just want to avoid configs if possible. >> > >> --Pradeep >> >> >> On Wed, Feb 20, 2013 at 1:43 AM, Dileepa Jayakody <[email protected]>wrote: >> >>> Hi All, >>> >>> Configuring a default feature repository in Carbon has been a >>> requirement for sometime now. >>> >>> We can do this by having an entry in carbon.xml like below and load the >>> given repo by default in feature manager; >>> >>> <FeatureRepository> >>> <RepositoryName>default repository</RepositoryName> >>> <RepositoryURL>http://dist.wso2.org/p2/carbon/releases/4.0.5 >>> </RepositoryURL> >>> </FeatureRepository> >>> >>> I have done the necessary changes locally, is it good to commit this to >>> trunk now and make it available in future releases? >>> >>> Thanks, >>> Dileepa >>> -- >>> Dileepa Jayakody, >>> Software Engineer, WSO2 Inc. >>> Lean . Enterprise . Middleware >>> >>> Mobile : +94777-857616 >>> >> >> >> >> -- >> *Pradeep Fernando* >> Member, Management Committee - Platform & Cloud Technologies >> Senior Software Engineer;WSO2 Inc.; http://wso2.com >> >> blog: http://pradeepfernando.blogspot.com >> m: +94776603662 >> > > > > -- > Dileepa Jayakody, > Software Engineer, WSO2 Inc. > Lean . Enterprise . Middleware > > Mobile : +94777-857616 > -- *Pradeep Fernando* Member, Management Committee - Platform & Cloud Technologies Senior Software Engineer;WSO2 Inc.; http://wso2.com blog: http://pradeepfernando.blogspot.com m: +94776603662
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
