Hi Prabushi,

This seems to be an issue with the carbon feature plugin. In the
FeatureResourceBundle class, it splits the name of the feature by
".feature" string[1]. Can you create a JIRA for this please?

[1]
https://github.com/wso2/carbon-maven-plugins/blob/master/carbon-feature-plugin/src/main/java/org/wso2/maven/p2/feature/generate/FeatureResourceBundle.java#L72

Thanks,
Chanaka.

On Mon, Aug 8, 2016 at 4:10 PM, Prabushi Samarakoon <prabus...@wso2.com>
wrote:

> Hi all,
>
> We are trying to create a p2-feature for our UUF sample application
> "features-app". It has the artifactId 
> "org.wso2.carbon.uuf.features-app.feature".
> When we build the feature, it creates a directory inside the zip file, with
> the name org.wso2.carbon.uuf_1.0.0.SNAPSHOT instead
> of org.wso2.carbon.uuf.features-app_1.0.0.SNAPSHOT. When we renamed our
> feature's name to "Features-app.feature", it is working fine.
>
> It seems, the plugin takes the name of the feature up to the first
> ".feature".  It doesn't allow to have a name such as
> ".featureXXXX.feature". Because of this reason we cannot get this feature
> into the distribution directory of our product. Is there a way to solve
> this issue?
>
> Thanks and Regards
>
> --
> *Prabushi Samarakoon*
> Software Engineer
> Mobile: +94715434580
> Email: prabus...@wso2.com
>



-- 
Chanaka Cooray
Software Engineer, WSO2 Inc. http://wso2.com
Email: chana...@wso2.com
Mobile: +94713149860
<https://wso2.com/signature>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to