Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8-beta-2
-
None
-
None
Description
The documentation of org.codehaus.groovy.tools.stubgenerator.StringSourcesStubTestCase says that the source mappings for testing joing compilation stub generation can be given as below:
['com/foo/Bar.groovy': ''' package com.foo class Bar {} ''']
However this doesn't currently work because the sub-folders for the package structure are not recursively created physically and hence writing to 'com/foo/Bar.groovy' fails with FileNotFoundException.
Another small improvement needed is an option to not-delete the temp folder created for stubs.