Also many thanks for re-testing!
> On 23. Sep 2019, at 06:13, shehane via JaCoCo and EclEmma Users > <[email protected]> wrote: > > Oh greate. now it is working, Thanks for the help ;). Love the community > behind JaCoCo :D > > On Sunday, September 22, 2019 at 3:53:12 PM UTC+5:30, Marc R. Hoffmann wrote: > Hi, > > we fixed both issues on master. You can download the latest build here: > > https://ci.appveyor.com/project/JaCoCo/jacoco/branch/master/artifacts > <https://ci.appveyor.com/project/JaCoCo/jacoco/branch/master/artifacts> > > Regards, > -marc > >> On 22. Sep 2019, at 11:14, Shehan Dhaleesha <[email protected] <>> wrote: >> >> So yes, I executed that path also. Then It won't do any analysis and no >> error. But the result is same. Any solution for this case? >> >> On Sunday, 22 September 2019 09:33:25 UTC+5:30, Evgeny Mandrikov wrote: >> File >> >> shehan/newOne/main.class >> >> has package name "shehan.newOne" >> and "SourceFile" attribute "main.bal" >> so JaCoCo looks for a source file "shehan/newOne/main.bal" >> relative to a directory specified by "--sourcefiles" parameter >> i.e. in case of >> >> --sourcefiles ../../Stages/sevice >> >> it looks for >> >> ../../Stages/service/shehan/newOne/main.bal >> >> >> On Sunday, September 22, 2019 at 5:46:57 AM UTC+2, Shehan Dhaleesha wrote: >> So yes, I exclude the ___init.class file when generating the report. That is >> not my case. Why can't I map the source file with the generated report. It >> says that >> >> >> When I gave the source files as a argument, Then It gives the above >> mentioned error. So is this mean I can't use JaCoCo in my case? >> >> On Sunday, 22 September 2019 07:59:11 UTC+5:30, Evgeny Mandrikov wrote: >> On Wednesday, September 18, 2019 at 1:45:46 PM UTC+2, Marc R. Hoffmann wrote: >> 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". >> >> Files >> >> shehan/newOne/$moduleInitFrame.class >> shehan/newOne/$moduleStartFrame.class >> >> cause https://github.com/jacoco/jacoco/pull/941 >> <https://github.com/jacoco/jacoco/pull/941> >> FileNotFoundException with message "Is a directory" >> because they have empty "SourceFile" attribute. >> >> Java Virtual Machine Specification about "SourceFile" attribute ( >> https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.7.10 >> <https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.7.10> >> ) states >> >> The string referenced by the sourcefile_index item will be interpreted as >> indicating the name of the source file from which this class file was >> compiled. >> >> So in my opinion empty is not a valid value and you'd better report this to >> developers of Ballerina. >> >> >> File >> >> shehan/newOne/___init.class >> >> causes https://github.com/jacoco/jacoco/issues/940 >> <https://github.com/jacoco/jacoco/issues/940> >> explanation is in >> https://github.com/jacoco/jacoco/issues/940#issuecomment-533659632 >> <https://github.com/jacoco/jacoco/issues/940#issuecomment-533659632> >> >> >> On Saturday, September 21, 2019 at 5:10:39 AM UTC+2, Shehan Dhaleesha wrote: >> So can I still have a hope? >> >> >> If you exclude above files from generation of report, then even with JaCoCo >> version 0.8.4 you already should be able to generate report. >> >> Also as explained on page >> https://www.jacoco.org/jacoco/trunk/doc/environment.html >> <https://www.jacoco.org/jacoco/trunk/doc/environment.html> >> >> Master branch of JaCoCo is automatically built and snapshot is available at >> https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.jacoco&a=jacoco&e=zip&v=LATEST >> >> <https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.jacoco&a=jacoco&e=zip&v=LATEST> >> so you can wait a bit when fixes for both will arrive into master to try >> them before we'll do release. >> >> Pull requests are also built automatically, and since first issue is already >> fixed in master, pull request with fix for the second contains both - >> https://ci.appveyor.com/project/JaCoCo/jacoco/builds/27575431/artifacts >> <https://ci.appveyor.com/project/JaCoCo/jacoco/builds/27575431/artifacts> >> >> >> -- >> 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/8e16d938-a85f-4663-8151-80a106b9633a%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jacoco/8e16d938-a85f-4663-8151-80a106b9633a%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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/ed435f0a-b7ea-4078-ac4d-9256fe7e8dd6%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/ed435f0a-b7ea-4078-ac4d-9256fe7e8dd6%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/CC2F9F36-CEFF-4059-88D2-A2565DFA39E2%40mountainminds.com.
