Hi Manoj, In APIM, we have more than one profile installing store and publisher features. Due to that if we remove resources through p2.inf, second profile fails when trying to copy those again. Is it possible to extract those features again before running the second profile?
Thanks, Lakmali On 10 May 2015 at 12:30, Manoj Kumara <ma...@wso2.com> wrote: > Hi APIM Team, > > $Subject on *carbon-apimgt* repo. In APIM 1.8.0 feature directory > 50Mb. > This can be reduced from the product distribution by removing resources > after installing the features. Such sample can be found on [3]. > > [1] > https://github.com/wso2/carbon-apimgt/blob/master/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/p2.inf > [2] > https://github.com/wso2/carbon-apimgt/blob/master/features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/p2.inf > [3] > https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/features/org.wso2.carbon.kernel.patch0001.feature/1.0.0/src/main/resources/p2.inf > > Regards, > Manoj > > > *Manoj Kumara* > Software Engineer > WSO2 Inc. http://wso2.com/ > *lean.enterprise.middleware* > Mobile: +94713448188 > > On Sun, May 10, 2015 at 12:17 PM, Manoj Kumara <ma...@wso2.com> wrote: > >> Hi IS Team, >> >> I noticed that in some of the feature pom files in *carbon-identity* >> repo you guys are using p2 touchpoints to copy resources (webapps, >> keystore, etc) to the product but not removing them from the feature after >> installing the feature [1], [2]. >> >> This can cause to increase the size of the product distribution since >> those resources will be under >> <ProductHome>/repository/components/features/<relevent_feature> directory >> as well. So better to remove those resources after installing the features. >> Such sample can be found on [3]. >> >> >> [1] >> https://github.com/wso2/carbon-identity/blob/master/features/identity-provider/org.wso2.carbon.identity.provider.server.feature/resources/p2.inf >> [2] >> https://github.com/wso2/carbon-identity/blob/master/features/oauth/org.wso2.carbon.identity.oauth.server.feature/resources/p2.inf >> [3] >> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/features/org.wso2.carbon.kernel.patch0001.feature/1.0.0/src/main/resources/p2.inf >> >> >> Regards, >> Manoj >> > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Lakmali Baminiwatta Senior Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev