jdaugherty opened a new issue, #284:
URL: https://github.com/apache/grails-intellij-plugin/issues/284

   Doing same change (adding few empty lines) and running unit test sometimes 
forces rebuild of grails plugin and sometimes not.
   
   **Logs when Intellij decided to rebuilt plugin:**
   2016-12-22 17:15:28,278 [  59670]   INFO - .incremental.IncProjectBuilder - 
Building project; isRebuild:false; isMake:true parallel compilation:false
   2016-12-22 17:15:28,280 [  59672]   INFO - kotlin.jps.build.KotlinBuilder - 
is Kotlin incremental compilation enabled: true
   2016-12-22 17:15:28,280 [  59672]   INFO - kotlin.jps.build.KotlinBuilder - 
is Kotlin experimental incremental compilation enabled: true
   2016-12-22 17:15:28,305 [  59697]   INFO - kotlin.jps.build.KotlinBuilder - 
is Kotlin compiler daemon enabled: true
   2016-12-22 17:15:28,305 [  59697]   INFO - kotlin.jps.build.KotlinBuilder - 
Label in local history: build started 61b0867e
   2016-12-22 17:15:28,307 [  59699]   INFO - r.api.ClassFilesIndicesBuilder - 
class files data index disabled
   2016-12-22 17:15:28,313 [  59705]   INFO - .incremental.IncProjectBuilder - 
Cleaned output directories in 5 ms
   2016-12-22 17:15:31,261 [  62653]   INFO - mental.groovy.JpsGroovycRunner - 
Order chunk rebuild
   2016-12-22 17:15:31,261 [  62653]   INFO - .incremental.IncProjectBuilder - 
Builder Groovy compiler requested rebuild of module chunk common-inplacePlugin
   2016-12-22 17:15:42,856 [  74248]   INFO - brains.jps.incremental.Builder - 
Dependency analysis found 0 affected files
   2016-12-22 17:15:43,831 [  75223]   INFO - rains.jps.cmdline.BuildSession - 
Build duration: 'Groovy compiler' builder took 13732 ms, 470 sources processed
   2016-12-22 17:15:43,831 [  75223]   INFO - rains.jps.cmdline.BuildSession - 
Build duration: 'IntelliLang Pattern Validator' builder took 633 ms, 0 sources 
processed
   2016-12-22 17:15:44,214 [      0]   INFO - etbrains.jps.cmdline.BuildMain - 
Build process started. Classpath: 
/home/<hidden-personal-data>/Downloads/idea-IU-163.9166.29/lib/jps-launcher.jar:/usr/lib/jvm/java-8-jdk/lib/tools.jar:/home/<hidden-personal-data>/Downloads/idea-IU-163.9166.29/lib/optimizedFileManager.jar
   2016-12-22 17:15:44,502 [    288]   INFO - etbrains.jps.cmdline.BuildMain - 
Connection to IDE established in 271 ms
   2016-12-22 17:15:44,577 [    363]   INFO - jps.cmdline.JpsModelLoaderImpl - 
Loading model: project path = 
/home/<hidden-personal-data>/work/projekttestowy/mojprojekt.ipr, global 
options path = 
/home/<hidden-personal-data>/.IntelliJIdea2016.3/config/options
   2016-12-22 17:15:44,862 [    648]   INFO - jps.cmdline.JpsModelLoaderImpl - 
Model loaded in 285 ms
   2016-12-22 17:15:44,863 [    649]   INFO - jps.cmdline.JpsModelLoaderImpl - 
Project has 3 modules, 1 libraries
   2016-12-22 17:15:44,916 [    702]   INFO - ellij.util.io.PagedFileStorage - 
lower=100; upper=500; buffer=10; max=1758
   2016-12-22 17:15:44,985 [    771]   INFO - etbrains.jps.cmdline.BuildMain - 
Pre-loaded process ready in 772 ms
   
    **Logs when Intellij decided to not rebuilt plugin:**
   2016-12-22 17:16:14,042 [  29828]   INFO - .incremental.IncProjectBuilder - 
Building project; isRebuild:false; isMake:true parallel compilation:false
   2016-12-22 17:16:14,043 [  29829]   INFO - kotlin.jps.build.KotlinBuilder - 
is Kotlin incremental compilation enabled: true
   2016-12-22 17:16:14,043 [  29829]   INFO - kotlin.jps.build.KotlinBuilder - 
is Kotlin experimental incremental compilation enabled: true
   2016-12-22 17:16:14,074 [  29860]   INFO - kotlin.jps.build.KotlinBuilder - 
is Kotlin compiler daemon enabled: true
   2016-12-22 17:16:14,074 [  29860]   INFO - kotlin.jps.build.KotlinBuilder - 
Label in local history: build started 26d7e614
   2016-12-22 17:16:14,077 [  29863]   INFO - r.api.ClassFilesIndicesBuilder - 
class files data index disabled
   2016-12-22 17:16:14,082 [  29868]   INFO - .incremental.IncProjectBuilder - 
Cleaned output directories in 5 ms
   2016-12-22 17:16:17,595 [  33381]   INFO - brains.jps.incremental.Builder - 
Dependency analysis found 0 affected files
   2016-12-22 17:16:17,714 [  33500]   INFO - rains.jps.cmdline.BuildSession - 
Build duration: 'Groovy compiler' builder took 3272 ms, 1 sources processed
   2016-12-22 17:16:17,999 [      0]   INFO - etbrains.jps.cmdline.BuildMain - 
Build process started. Classpath: 
/home/<hidden-personal-data>/Downloads/idea-IU-163.9166.29/lib/jps-launcher.jar:/usr/lib/jvm/java-8-jdk/lib/tools.jar:/home/<hidden-personal-data>/Downloads/idea-IU-163.9166.29/lib/optimizedFileManager.jar
   2016-12-22 17:16:18,263 [    264]   INFO - etbrains.jps.cmdline.BuildMain - 
Connection to IDE established in 253 ms
   2016-12-22 17:16:18,333 [    334]   INFO - jps.cmdline.JpsModelLoaderImpl - 
Loading model: project path = 
/home/<hidden-personal-data>/work/projekttestowy/mojprojekt.ipr, global 
options path = 
/home/<hidden-personal-data>/.IntelliJIdea2016.3/config/options
   2016-12-22 17:16:18,656 [    657]   INFO - jps.cmdline.JpsModelLoaderImpl - 
Model loaded in 323 ms
   2016-12-22 17:16:18,656 [    657]   INFO - jps.cmdline.JpsModelLoaderImpl - 
Project has 3 modules, 1 libraries
   2016-12-22 17:16:18,714 [    715]   INFO - ellij.util.io.PagedFileStorage - 
lower=100; upper=500; buffer=10; max=1758
   2016-12-22 17:16:18,780 [    781]   INFO - etbrains.jps.cmdline.BuildMain - 
Pre-loaded process ready in 782 ms
   
   I have a project with inplace plugin. Plugin contains domain classess. Main 
project contains a test using that domain classess.
   When I change a domain class in whatever way (even adding few empty lines) 
and run test from IDE, sometimes tests are passing and sometimes not.
   Reason why they are not passing is groovy.lang.MissingPropertyException on a 
fields that is declared using gorm statics, like: static belongsTo = [author: 
Author]. Tests are passing when entire plugin is rebuilt. Failing when it is 
not rebuilt.
   
   ---
   
   *Imported from 
[IDEA-165818](https://youtrack.jetbrains.com/issue/IDEA-165818) · Type: Bug · 
Votes: 4*
   *Comments, attachments, dates and reporter are not part of the export — 
follow the link above for the full history.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to