Hi Aruna,
Current version of the carbon p2 plugin allows you to provide maximum of 2
properties files in 2 ways.
- Provide the properties file as a configuration parameter to the plugin
(through <propertyFile> tag you can specify the location)
- The plugin check for a file named *feature.properties* inside {project
location}/src/main/resources folder.
If both 2 files exists, the properties are merged as the final output file.
At least one property file should exist for the plugin to work. In
addition, mandatory keys should exist in the final output (mandatory keys
are *copyright* and *license*).
For your requirement, as a workaround you can merge your properties files
into one and feed into the plugin. However, if your properties files
contain duplicate keys (which is most likely), then it will cause issues
during merging these files.
You can also try creating different features based on different bundles.
However, I'm not sure that will address your issue.
-Dinusha
On Wed, Nov 18, 2015 at 2:32 PM, Aruna Karunarathna <[email protected]> wrote:
> Hi all,
>
>
> Currently I am creating a feature for carbon-5, in my feature I have
> bundles which contains multiple licenses.
> So my question is how to add those multiple licenses in the
> feature.properties file?. Or Is there any other way to achieve this?
>
> Regards,
> Aruna
> --
>
> *Aruna Sujith Karunarathna *| Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: [email protected] | Web: www.wso2.com
>
>
--
*Dinusha Boteju*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*
email: [email protected] <[email protected]>
phone:(+94) 776640275 <%28%2B94%29%20777739736>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev