Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1-rc-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
I'm using the Groovy uber-compiler task and the stub generator doesn't generate stubs when you have a sub class. For example if you have
class Identity {
}
class CompositeIdentity extends Identity {
}
The stub for Identity is generated but not for CompositeIdentity
I have experienced the exact same problem. We are trying to get groovy integrated into our application's codebase
If I remove the "return;" line in the following statement in JavaStubGenerator: (near line 58?)
// Only attempt to render our self if our super-class is resolved, else wait for it
if (!classNode.getSuperClass().isResolved()) { return; }
then my java/groovy app compiles as expected. My base groovy class and derivatives (which my java source references) all are generated and compile.
however. I am certain this is not the correct solution