[jacoco:dump] connection refuse to remote server

56 views
Skip to first unread message

beingji...@gmail.com

unread,
Mar 29, 2017, 10:59:33 PM3/29/17
to JaCoCo and EclEmma Users
Hi,
  I need a urgent help to generate jacoco remote by accessing a server running remotely. Somehow, I can not access that server without authentication. I am trying jacoco on the fly instrumentation (output=tcpserver) and trying to dump instrumented  data by running an ant task from local machine. Please see my build.xml. Somehow I am not able to connect remote server.
I would highly appreciate any help regarding that.

Build.xml:

<project name="JaCoCo" xmlns:jacoco="antlib:org.jacoco.ant">
<property name="result.exec.file" value="jacoco.exec"/>
    <property name="server" value="remote server if" />
    <property name="port" value ="6300" />
    <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml">
      <classpath path="jacocoant.jar"/>
    </taskdef>  

    <target name="getData">
      <jacoco:dump address="${server}" port="${port}" reset="true" append="false" destfile="${result.exec.file}"/>
    </target>

</project>
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages