Hi, 

if you run Ant -v there should be a Java stack trace after the line with
"Error while creating report". 

Please provide this stack trace for further investigation. 

Regards,
-marc 

On 2017-05-02 21:05, 'Stanley Chong' via JaCoCo and EclEmma Users wrote:

> Here's the info that I get from them.   
> _They are using Jacoco 0.7.6.  Their errors when they run with the -v option 
> are:_ 
> 
> ... 
> 
> [antlib:org.apache.tools.ant] Could not load definitions from resource 
> org/jacoco/ant/antlib.xml. It could not be found. 
> 
> Parsing buildfile 
> jar:file:/home/s_mrscha/bld24/jacocoant.jar!/org/jacoco/ant/antlib.xml with 
> URI = jar:file:/home/s_mrscha/bld24/jacocoant.jar!/org/jacoco/ant/antlib.xml 
> 
> ... 
> 
> clean: 
> 
> [delete] Deleting directory /home/s_mrscha/bld24/report 
> 
> report: 
> 
> [antlib:org.jacoco.ant] Could not load definitions from resource 
> org/jacoco/ant/antlib.xml. It could not be found. 
> 
> [jacoco:report] Loading execution data file /home/s_mrscha/bld24/jacoco.exec 
> 
> BUILD FAILED 
> 
> /home/s_mrscha/bld24/build.xml:23:Error while creating report. 
> 
> Thanks! 
> On Tuesday, April 18, 2017 at 1:45:26 PM UTC-4, Stanley Chong wrote: 
> 
>> Hi, 
>> We are trying to use JaCoCo on a Java program that is compiled to machine 
>> code.  We can get the jacoco.exec to be created, but when we try to generate 
>> the report, we get the following error: 
>> 
>> Buildfile: build.xml 
>> 
>> Report: 
>> 
>> [jacoco:report] Loading execution data file /home/s_mrscha/bld24/jacoco.exec 
>> 
>> BUILD FAILED 
>> 
>> /home/s_mrscha/bld24/build.xml:23: Error while creating report 
>> 
>> Total time: 6 seconds 
>> 
>> And line 23 is just the first line of the ant <jacoco:report> task... so 
>> that doesn't seem to be useful.
>> 
>> Is there something else that would enable us to see a more descriptive error 
>> so we can fix this problem? 
>> 
>> Thanks, 
>> 
>> Stan
> 
> -- 
> 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/c27112c4-7321-4059-95d3-055b03161a1d%40googlegroups.com
>  [1].
> For more options, visit https://groups.google.com/d/optout.

  

Links:
------
[1]
https://groups.google.com/d/msgid/jacoco/c27112c4-7321-4059-95d3-055b03161a1d%40googlegroups.com?utm_medium=email&amp;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/cf33862b950b802b068c5409055a8b06%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to