Hi,
  I need a urgent to generate jacoco remote by accessing a server running 
remotely. Somehow, I can access that server without authentication. I am trying 
jacoco on the fly instrumentation (output=tcpserver) and trying to dump 
instrumented  data by running a ant task from local machine. Please see be 
build.xml. Somehow I am not able to connect remote server.

I would highly appreciate any help regarding that.

<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="get_data">
      <jacoco:dump address="${server}" port="${port}" reset="true" 
append="false" destfile="${result.exec.file}"/>
    </target>


</project>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/4d13df34-f6e1-45bb-a688-e983b4f71828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to