Waruna,  In Cassandra , I have the same requirement, and already added the
required configuration to the p2 feature. But, still I could not get it
worked even with help from Predeep.

Actaully, I want to create a directory and put config files during the
feature installation.  Do you have any idea about what could be go wrong?
Following is the p2.inf (It is a single fline)

instructions.configure =
org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../conf/cassandra);org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/cassandra.yaml,target:${installFolder}/../conf/cassandra/cassandra.yaml,overwrite:true);org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/cassandra.yaml);org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/cassandra-topology.properties,target:${installFolder}/../conf/cassandra/cassandra-topology.properties,overwrite:true);org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/cassandra-topology.properties);org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/cassandra-component.xml,target:${installFolder}/../conf/cassandra/cassandra-component.xml,overwrite:true);org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/cassandra-component.xml);

Thanks,

Indika

On Tue, Mar 8, 2011 at 11:09 AM, Waruna Ranasinghe <[email protected]> wrote:

>
>
> On Mon, Mar 7, 2011 at 11:38 PM, Tharindu Mathew <[email protected]>wrote:
>
>> Hi,
>>
>> I'm facing $subject after including them as feature. Can't these be
>> included in the feature itself?
>>
> We can configure the feature to copy config files in to the distribution,
> when the feature get installed. Please refer identity and bpel features as
> an example
>
>
> Thanks,
> Waruna
>
>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> -------------------------------------------------------------------------
> Waruna Ranasinghe
> Senior Software Engineer, WSO2
>
> Mobile: +94 724 318285
> BLOG: http://warunapw.blogspot.com
>
> www.wso2.com - "Lean . Enterprise . Middleware"
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to