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.  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
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to