简体   繁体   中英

How to disable groovy optimizations in grails 2.3.x

I am having some problems with my coverage report. According to this question It seems to be the optimizations groovy branches.

The answer says that I should drop this jar in my lib directory and run "test-app -coverage". But it is still not working. I think its because I am using grails 2.3.x and groovy 2.x instead of groovy 1.8 (the solution is very old)

How do I use this jar? or the solution is diferent for new groovy compilers?

Some examples of my problem with the coverage report

在此处输入图片说明

and

在此处输入图片说明

I am using oracle java 7 build 24.51-b03 in linux

I am closing this question becouse the solution was clean/compile and not other procedure.

The only problem so far with this solution is that there are still redlines in my reports that do not have conditional branches. But I will open a new question

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM