I couldn't reopen GROOVY-2370, so I created a this new issue.
The script from GROOVY-2370 does indeed work correctly on my environment.
But I have attached a script that still fails.
It starts java from within the groovy script.
Antbuilder/Groovy ant task that uses forking java task causes StackOverflow in ANT script
Have you tried with a build from SVN Trunk?
Can you try again with a build of HEAD. The appropriate jar should pop out here shortly:
It works, thanx.
Leaving main issue to track fix on 1.5.2, status on HEAD/1.6 is now associated with a subtask. I recommend merging HEAD to the branch and closing the issue. It would be best to wait until we have the test but if 1.5.2 needs to go out before, then it can be done now I believe.
Should be fixed after the merges done on the 1.5 branch.
adjusting fix version as I think some changes didn't make 1.5.2