2017년 12월 20일 수요일 오후 2시 56분 45초 UTC+9, Marc R. Hoffmann 님의 말: > Sure, gradle should perfectly work on linux. > > On 2017-12-20 06:43, [email protected] wrote: > > 2017년 12월 19일 화요일 오후 9시 13분 20초 UTC+9, Marc R. Hoffmann 님의 말: > >> > However, in my development environment, the compilation environment is > >> > different. > >> > >> This is not supported by JaCoCo. > >> > >> Why can't you grab the class files form your server and use these > >> class > >> files for report generation? > >> > >> Regards, > >> -marc > >> > >> > >> On 2017-12-19 07:15, [email protected] wrote: > >> > when I run jacocoTestReport, I see the following error during report > >> > generation. > >> > > >> > [ant:jacocoReport] Classes in bundle 'xxx' do no match with execution > >> > data. For report generation the same class files must be used as at > >> > runtime. > >> > [ant:jacocoReport] Execution data for class xxx does not match. > >> > [ant:jacocoReport] Execution data for class xxx does not match. > >> > [ant:jacocoReport] Execution data for class xxx does not match. > >> > > >> > I saw so many webpage so I know what makes this error. > >> > > >> > ------------------------------------------------------------------- > >> > What can cause different class ids? > >> > > >> > Class ids are identical for the exact same class file only > >> > (byte-by-byte). There is a couple of reasons why you might get > >> > different class files. First compiling Java source files will result > >> > in different class files if you use a different tool chain: > >> > > >> > Different compiler vendor (e.g. Eclipse vs. Oracle JDK) > >> > Different compiler versions > >> > Different compiler settings (e.g. debug vs. non-debug) > >> > ------------------------------------------------------------------- > >> > > >> > However, in my development environment, the compilation environment is > >> > different. > >> > I work in Ubuntu server. can not run Ubuntu GUI mode. > >> > so I build source code in ubuntu. but build gradle is through android > >> > studio in windows. > >> > and run following command in ubuntu. > >> > ./gradlew jacocoTestReport > >> > > >> > can I receive reports properly in this environment? > >> > how can i get report correctly? > > > > Thank you for comments, mark. > > > > The way you say is that copy the file into Windows and test it, > > I tested it on android studio in windows but it did not work. > > Is there any way to run tests on Ubuntu console? > > > > Regards,
Do you mean it is possible running jacoco test in ubuntu console without using gui mode? Could you please tell me what to do? Regards, -- 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/6ebac2c5-d121-4277-a3a4-447b87d3f811%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
