Re: [Dev] Defining ​instructions.configure in p2.inf using carbon-feature-plugin

2016-04-04 Thread Hasitha Aravinda
Hi Krishanthan,

I have tested SNAPSHOT and it works as expected.

Thanks,
Hasitha.

On Mon, Apr 4, 2016 at 12:13 PM, Kishanthan Thangarajah  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 
> 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>
>> 
>> org.wso2.carbon.p2.category.type
>> server
>> 
>> 
>> org.eclipse.equinox.p2.type.group
>> true
>> 
>> 
>>
>> ​[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 *
> Twitter - *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


Re: [Dev] Defining ​instructions.configure in p2.inf using carbon-feature-plugin

2016-04-04 Thread Kishanthan Thangarajah
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  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>
> 
> org.wso2.carbon.p2.category.type
> server
> 
> 
> org.eclipse.equinox.p2.type.group
> true
> 
> 
>
> ​[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 *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Defining ​instructions.configure in p2.inf using carbon-feature-plugin

2016-04-04 Thread Hasitha Aravinda
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>

org.wso2.carbon.p2.category.type
server


org.eclipse.equinox.p2.type.group
true



​[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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev