According to the error message "D:\${exec.path}" I'm pretty sure
*exec.path* is not defined when the report task is executed.
This is not an JaCoCo isse, you need to configure your builds scripts
correctly.
jacoco.exec is normally generated by the JaCoCo agent, which is
configured with the jacoco:coverage task.
Regards,
-marc
On 2016-09-13 06:00, Ashley S wrote:
Hi,
Thanks a lot for the reply. I'm new to jacoco.
Can you please tell me when is the jacoco.exec file generated ? The
${exec.path} is defined, but I guess the error is because the
jacoco.exec file is not found.
Thanks and Regards,
Ashli
On Fri, Sep 9, 2016 at 9:25 AM, Marc R. Hoffmann
<[email protected]> wrote:
Well, have a look at the build output:
Loading execution data file D:\${exec.path}
Looks like your variable exec.path is not defined,
Regards,
-marc
On 08.09.16 12:59, [email protected] wrote:
Hi,
I'm trying to use jacoco with ant tasks.But while executing the
ant command, it is not loading the jacoco.exec file. The result is
:
Buildfile: \build.xml
****************************************************************************
!+! STARTED @ Thu Sep 08 16:09:50 IST 2016
****************************************************************************
----------------------------------------------------------------------------
!+! ENTERING code-coverage[\build.xml]
----------------------------------------------------------------------------
Build sequence for target(s) `jacoco.report' is [jacoco.report]
jacoco.report:[jacoco:report] Loading execution data file
D:\${exec.path}!+! ERROR OCCURRED @ \build.xml:52: !!!
***************************************************************************
!+! FINISHED @ Thu Sep 08 16:09:50 IST 2016
!+! Log: buildlogs\0041code_coverage.log
****************************************************************************
BUILD FAILED
\build.xml:52: Unable to read execution data file ${exec.path}
Total time: 0 seconds
--
You received this message because you are subscribed to a topic in
the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/jacoco/vXKY0DpEZDE/unsubscribe
[1].
To unsubscribe from this group and all its topics, send an email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/4f17c91f-e77d-5741-68c8-476d12ee9ede%40mountainminds.com
[2].
For more options, visit https://groups.google.com/d/optout [3].
--
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/CANYp0_%3DPhvMXtUUxQGZ7EAr29VVVUjYCwv99bq5Afih%2B%3Db5f3A%40mail.gmail.com
[4].
For more options, visit https://groups.google.com/d/optout.
Links:
------
[1] https://groups.google.com/d/topic/jacoco/vXKY0DpEZDE/unsubscribe
[2]
https://groups.google.com/d/msgid/jacoco/4f17c91f-e77d-5741-68c8-476d12ee9ede%40mountainminds.com
[3] https://groups.google.com/d/optout
[4]
https://groups.google.com/d/msgid/jacoco/CANYp0_%3DPhvMXtUUxQGZ7EAr29VVVUjYCwv99bq5Afih%2B%3Db5f3A%40mail.gmail.com?utm_medium=email&utm_source=footer
--
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/9b835d43e8d3aa2f3e5aeec64e87cfce%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.