jdaugherty opened a new pull request, #15221:
URL: https://github.com/apache/grails-core/pull/15221

   This was an extremely frustrating bug for multiproject builds.  The gradle 
plugins were calling System.setProperty() as part of any grails gradle plugin 
setup - which means the set Property is for the life of that jvm instance.  
Since gradle is threaded, with multiproject builds, it was it resulted in a 
race condition / random setting of this field.  This meant that the basedir was 
incorrectly set for bootRun, etc.  It was even complicated more in that if it 
was set for that daemon process, it would remain set.  
   
   We already set other properties as part of task execution, so this PR takes 
the same approach.  This does mean that the properties are no longer set for 
gradle code, but after testing, I think this is ok.  


-- 
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