On a big project that consists of many projects each having different source folders and each source folder having its own output folder.
The groovy compiler only has access to the default output folder of each project. This leads to class not found exceptions in projects depending on classes that are not found in the default output folder.
Steps to reproduce:
The attached zip file contains 2 eclipse projects spock-concept and spock-concept-sub. Import them in eclipse (I used Mars SR1). And try to run
/spock-concept-sub/src/test/java/sub/ValueHolderUserSpec.groovy
This project has an internal groovy compiler error because it does not find the trait ValueHolderAware from its separate output source folder of the dependent project.
groovy-eclipse-issue.zip
On a big project that consists of many projects each having different source folders and each source folder having its own output folder.
The groovy compiler only has access to the default output folder of each project. This leads to class not found exceptions in projects depending on classes that are not found in the default output folder.
Steps to reproduce:
The attached zip file contains 2 eclipse projects spock-concept and spock-concept-sub. Import them in eclipse (I used Mars SR1). And try to run
/spock-concept-sub/src/test/java/sub/ValueHolderUserSpec.groovy
This project has an internal groovy compiler error because it does not find the trait ValueHolderAware from its separate output source folder of the dependent project.
groovy-eclipse-issue.zip