Hi, Can we do something like this?. * Keep the configs in the features (as much as possible) * When installing the features to another product, can we detect if the config already exist?. * If already exists we should be able to update the existing config according to the requirements of the installing feature.
What I'm thinking is that, we can solve issues with registry.xml, while installing registry features into other products. This could be a possible improvement in p2 (via p2 touchpoints?). thanks, On Mon, Jul 1, 2013 at 5:16 PM, Maninda Edirisooriya <[email protected]>wrote: > > On Mon, Jul 1, 2013 at 2:43 PM, Ajith Vitharana <[email protected]> wrote: > >> >> >> >> On Mon, Jul 1, 2013 at 2:28 PM, Dinusha Senanayaka <[email protected]>wrote: >> >>> Hi All, >>> >>> There are some places where we bundle the config-files, dbscripts etcinside >>> feature and we maintain copies of these >>> configs inside product level as well. Aren't we should copy these >>> configs into product from feature without duplicating them at product >>> level as well.. or are there any-other reasons to do so ? >>> >> >> The main reason is while installing the features to other product(using >> P2-repo) we need to copy the feature specific configurations. >> >> +1 to keep in one place as much as possible. >> > It is better to allow to create and define all the config files only in a > product. We can allow features only to modify the existing config files but > not to create them. This will avoid collision between config files with the > same name coming from different features to the same product location. > >> >> Thanks >> Ajith. >> >> >>> Regards, >>> Dinusha. >>> >>> -- >>> Dinusha Dilrukshi >>> Senior Software Engineer >>> WSO2 Inc.: http://wso2.com/ >>> Mobile: +94725255071 >>> Blog: http://dinushasblog.blogspot.com/ >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Ajith Vitharana. >> WSO2 Inc. - http://wso2.org >> Email : [email protected] >> Mobile : +94772217350 >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - [email protected] <[email protected]> mobile - 071 56 91 321
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
