Sure, there is hope! We’re working on both issues we identified with your class 
files. Just give us some time — it’s a spare time project ;)


> On 21. Sep 2019, at 05:10, Shehan Dhaleesha <[email protected]> 
> wrote:
> 
> Oh. So this is the version I've got.
> 
> <Auto Generated Inline Image 1.png>
> 
> So can I still have a hope?
> 
> On Friday, September 20, 2019 at 7:26:02 PM UTC+5:30, Marc R. Hoffmann wrote:
> Thanks for providing the class files. It helped me to identify an different 
> bug in JaCoCo, thanks! ;)
> 
>     https://github.com/jacoco/jacoco/issues/940 
> <https://github.com/jacoco/jacoco/issues/940>
> 
> Unfortunately this is not related to your problem. I was able to reproduce 
> your issue only in a unit test and created a fix for it:
> 
>     https://github.com/jacoco/jacoco/pull/941 
> <https://github.com/jacoco/jacoco/pull/941>
> 
> But I still want to reproduce and understand your exact issue. Can you please 
> tell me the version of the jacococli.jar you’re using? For this please 
> execute:
> 
>     java -jar jacococli.jar version
> 
> Thanks!
> 
>> On 18. Sep 2019, at 14:07, Shehan Dhaleesha <[email protected] 
>> <javascript:>> wrote:
>> 
>> OK, So basically this is not Java. But the compiled files are in 
>> bytecode(.class files). What I've tried is called as "Ballerina". It is also 
>> compiled into bytecode so that the JVM can run it. Why I use jacoco for 
>> Ballerina is because of Scala. I saw some blog posts that jacoco can be used 
>> to generate coverage reports in Scala also (as far as I know Scala is also 
>> running on JVM). So that is the reason to have different different paths 
>> respect to java. So yes I'll attach a compiled jar file so that you can 
>> observe it. And the best part is jacoco is generating a coverage report but 
>> not highlighting the source file. I'll attach a image of a generated 
>> coverage report. So what I want is mapping source files with the report so 
>> that I can see the coverage. If this can't be done using this jacoco version 
>> please let me know, And it would be really helpful if you can guide me a way 
>> to re-implement the jacoco so that I can achieve what I want.
>> 
>> Ballerina website: https://v1-0.ballerina.io/ <https://v1-0.ballerina.io/>
>> 
>> Jar file location : 
>> https://drive.google.com/open?id=1NF_tja42tFK3aQ-qcd5e2qvevxu-K84o 
>> <https://drive.google.com/open?id=1NF_tja42tFK3aQ-qcd5e2qvevxu-K84o>
>> 
>> <Auto Generated Inline Image 1.png>
>> <Auto Generated Inline Image 2.png>
>> 
>> <Auto Generated Inline Image 3.png>
>> 
>> 
>> 
>> On Wednesday, September 18, 2019 at 5:15:46 PM UTC+5:30, Marc R. Hoffmann 
>> wrote:
>> Ok, so the problem happens when the CLI tries to load referenced source 
>> file. You could verify by leaving out the parameter
>> 
>>   --sourcefiles ../../Stages/sevice
>> 
>> In this case a report should be generated without highlighted sources though.
>> 
>> 
>> 
>> The interesting question is, why some class files seems to have a source 
>> reference to "shehan/newOne". Normally it should look more like 
>> "a/b/c/Foo.java".
>> 
>> Questions about the class files in 
>> ../../Stages/sevice/target/extracted/shehan/newOne/
>> 
>> 1) How do you create/compile these class files?
>> 
>> 2) Can you provide a the class files for inspection (e.g. by Zip file)?
>> 
>> 
>> 
>> 
>> 
>> On 2019-09-18 13:10, Shehan Ranasinghe wrote:
>> 
>>> This is the whole error I've got
>>>  
>>> 
>>> 
>>> On Wednesday, September 18, 2019 at 3:22:35 PM UTC+5:30, Marc R. Hoffmann 
>>> wrote:
>>> Can you please post the full stack trace?
>>> 
>>> Without is it hard to tell which resource is missing here.
>>> 
>>> 
>>> 
>>> On 2019-09-18 08:34, Shehan Ranasinghe wrote:
>>> 
>>> When I tried to generate the report with jacococli.jar with source files, 
>>> this error is given to me.
>>>  
>>> 
>>>  
>>> here is the command I used to generate the report.
>>>  
>>> java -jar jacococli.jar report jacoco.exec --classfiles 
>>> ../../Stages/sevice/target/exracted/shehan/newOne/ --html ../report/ 
>>> --sourcefiles ../../Stages/sevice/
>>>  
>>> What is the problem in here? I can't find any solution.
>>> 
>>> 
>>> -- 
>>> 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/15e65265-306f-44bc-ade5-6e3589798755%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jacoco/15e65265-306f-44bc-ade5-6e3589798755%40googlegroups.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/d8288bcf-e31b-4260-ab1f-7a6aa33527c4%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jacoco/d8288bcf-e31b-4260-ab1f-7a6aa33527c4%40googlegroups.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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jacoco/e120c4e2-9729-43e7-a87d-b40c5dd0dc93%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jacoco/e120c4e2-9729-43e7-a87d-b40c5dd0dc93%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> <Auto Generated Inline Image 1.png><Auto Generated Inline Image 2.png><Auto 
>> Generated Inline Image 3.png>
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/44dd3287-0768-4514-87d5-2755f5eea4cb%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/44dd3287-0768-4514-87d5-2755f5eea4cb%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <Auto Generated Inline Image 1.png>

-- 
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/8124DD52-3921-4319-80C8-F7CB4AED7E12%40mountainminds.com.

Reply via email to