Hi Krishanthan,

I have tested SNAPSHOT and it works as expected.

Thanks,
Hasitha.

On Mon, Apr 4, 2016 at 12:13 PM, Kishanthan Thangarajah <kishant...@wso2.com
> wrote:

> There is a known issue with this : https://wso2.org/jira/browse/CMVNPLG-1
>
> You should be able to use the same approach (defining your own p2.inf)
> with the current SNAPSHOT of carbon-feature plugin. We are working a new
> release targeting this week.
>
> On Mon, Apr 4, 2016 at 11:57 AM, Hasitha Aravinda <hasi...@wso2.com>
> wrote:
>
>> Hi Kernel team,
>>
>> Is it possible to define instructions.configure sections as [1]
>> using carbon-feature-plugin ? carbon-feature-plugin takes configuration [2]
>> and generates p2.inf content [3].
>>
>> [1] - p2.inf
>>
>> ​​
>> instructions.configure = \
>> ​​
>>
>> org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../../features/org.wso2.carbon.bpmn.server_${feature.version}/conf/activiti.xml,target:${installFolder}/../../../conf/activiti.xml,overwrite:true);\
>>
>> org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../../features/org.wso2.carbon.bpmn.server_${feature.version}/conf/datasources/activiti-datasources.xml,target:${installFolder}/../../../conf/datasources/activiti-datasources.xml,overwrite:true);\
>>
>> [2]
>>
>> <
>> ​​
>> adviceFileContents>
>> <advice>
>> <name>org.wso2.carbon.p2.category.type</name>
>> <value>server</value>
>> </advice>
>> <advice>
>> <name>org.eclipse.equinox.p2.type.group</name>
>> <value>true</value>
>> </advice>
>> </adviceFileContents>
>>
>> ​[3]​ - p2.inf
>>
>> properties.0.name=org.wso2.carbon.p2.category.type
>> properties.0.value=server
>> properties.1.name=org.eclipse.equinox.p2.type.group
>> properties.1.value=true
>>
>>
>> Thanks,
>> Hasitha.
>>
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to