Consider the attached project.
If you run ./gradlew jar it will compile fine.
However, if you open it in Greclipse and open the class test.test.TestGreclipseError, you'll see an error:
The method getResult() from the type BaseResponse<Result> refers to the missing type Result
Of course, the mentioned type is not missing.
This is quite annoying because Eclipse seems not to perform a clean build for this. I suspect the problem lies in test.api.io.BaseResponse<T>, which has a field result of the generic type T.
If the fix is hard, a suggestion for a workaround would be much appreciated.
TestGroovyGradle.zip
Tested with Greclipse 4.3.0.v202109281919-e2009.
Consider the attached project.
If you run
./gradlew jarit will compile fine.However, if you open it in Greclipse and open the class
test.test.TestGreclipseError, you'll see an error:Of course, the mentioned type is not missing.
This is quite annoying because Eclipse seems not to perform a clean build for this. I suspect the problem lies in
test.api.io.BaseResponse<T>, which has a fieldresultof the generic typeT.If the fix is hard, a suggestion for a workaround would be much appreciated.
TestGroovyGradle.zip
Tested with Greclipse 4.3.0.v202109281919-e2009.