Hi Waruna,

I have also encountered across the same issue yesterday. As I noticed
installing a feature with the above touchpoint via the feature-manager UI
works fine. The issue occurs only when you install it via p2-profile-gen. I
suspect that it might be because p2-profile-gen couldn't find the custom
touchpoint we wrote. So, we need to find a way to make it visible at
p2-profile-gen.

KasunG


On Mon, Aug 18, 2014 at 2:00 PM, Waruna Jayaweera <[email protected]> wrote:

> Hi,
> I just added following touchpoint to feature p2.inf file referring [1].
>
> instructions.configure = \
> org.wso2.carbon.p2.touchpoint.addXMLElement(file:${installFolder}/../../../repository/conf/tomcat/webapp-classloading-environments.xml,xpath:/Classloading/ExclusiveEnvironments,element:<ExclusiveEnvironment><Name>J2EE</Name></ExclusiveEnvironment>);
> \
>
> Then build failed with following error.
>
> An error occurred while configuring the installed items
> session context was:(profile=default,
> phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
> --> [R]org.wso2.carbon.bpel.server.feature.group 4.3.0.SNAPSHOT,
> action=org.eclipse.equinox.internal.p2.engine.MissingAction).
> *No action found for: org.wso2.carbon.p2.touchpoint.addXMLElement.*
>
> I may be missing another configuration when using touchpoint to modify
> file. What I am missing here?
>
> [1]
> https://docs.wso2.com/display/Carbon420/Adding+and+Removing+XML+Element+Touchpoint+Actions
>
> --
> Regards,
>
> Waruna Lakshitha Jayaweera
> Software Engineer
> WSO2 Inc; http://wso2.com
> phone: +94713255198
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to