Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.4
-
Fix Version/s: 1.3.5
-
Component/s: None
-
Labels:None
Description
The change introduced in http://github.com/grails-plugins/grails-tomcat-plugin/commit/3f26f4d6305353588244ee502acbe08109024f5b has caused this.
Tomcat is now launched in forked JVM, and ant sits and waits for that process to finish before returning control which doesn't happen.
One solution would be to spawn the new proces, allowing control to return immediately, but this has issues in that ant then gives us no control over the spawned process so we will have no way of knowing it's status unless we roll our own IPC.
I am going to solve this by running the ant.java task in a separate thread and monitor it's output via ant's ability to redirect the launched process's IO to files.
Resolved by: http://github.com/alkemist/grails-tomcat-plugin/commit/c0c8197a4aa0e5b0ae4c5652ee1a13f50a733a19
Can someone please pull this into the plugin as I don't have commit rights.