On Thu, Apr 30, 2015 at 1:31 AM, Krishantha Samaraweera <krishan...@wso2.com
> wrote:

> Hi all,
>
> I'm trying to assign Jacoco (code coverage) java agent to our products and
> found it's not OOB supported though command line. So I had to edit the
> wso2server.sh and set it as JAVA_OPTS argument.
>
> sh wso2server.sh
> -javaagent:/Users/krishantha/xxx/agent/jacocoagent.jar=destfile=/Users/krishantha/xxx/target/jacoco.exec,append=true
> -* Not working*
>
> export
> JAVA_OPTS=-javaagent:/Users/krishantha/xxx/agent/jacocoagent.jar=destfile=/Users/krishantha/xxx/target/jacoco.exec,append=true
> sh wso2sever.sh - *Works*
>
> Is there any other way to achieve this without editing the shell script or
> exporting JAVA_OPTS. Since this a VM argument doesn't it need to be
> supported though command line ?
>
> Thanks,
> Krishantha.
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to