On Fri, Feb 22, 2013 at 1:22 AM, Dileepa Jayakody <[email protected]> wrote:
> > > On Wed, Feb 20, 2013 at 5:13 PM, Dileepa Jayakody <[email protected]>wrote: > >> >> >> On Wed, Feb 20, 2013 at 4:31 PM, Pradeep Fernando <[email protected]>wrote: >> >>> 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. >>> >>> Yes, I see the point. I'll just update the sample URL text in feature >> manager UI accordingly. >> > > On second thought; as per the initial requirement of having a default > per-configured feature repository with carbon, just having the repo-url > defined in the carbon.xml appear as the sample URL text wouldn't be enough > I think. > So I loaded the per-configured repo in feature-manager UI when listing > available repositories. > How exactly you implement the above step. Are you connecting to the remote repo and load it ? > Since adding a pre-defined repository is not mandatory for feature-manager > functionality, if any error occurs while trying to load the predefined repo > (say it's not available or hosted) error will be ignored and the repo-url > will not be added to the list. > > Thanks, > Dileepa > >> >> Thanks, >> Dileepa >> >>> --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 >>> >> >> >> >> -- >> Dileepa Jayakody, >> Software Engineer, WSO2 Inc. >> Lean . Enterprise . Middleware >> >> Mobile : +94777-857616 >> > > > > -- > 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
