[GRADLE-1909] Problem compiling a Groovy project when a Groovy class from src/main/groovy imports a Java nested interface in src/main/java Created: 10/Nov/11 Updated: 23/Jan/13 Resolved: 23/Jan/13 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-5 |
Fix Version/s: | None |
Type: | Bug | ||
Reporter: | Mauro Molinari | Assignee: | Unassigned |
Resolution: | Not A Bug | Votes: | 3 |
Attachments: | GRADLE-1909.zip |
Description |
Consider the attached project. It applies 'groovy' plugin and has the following classes:
Do "gradle clean assemble" on the project: the result is: [ant:groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Now, move src/main/java/testa package to src/main/groovy and retry "gradle clean assemble". It then succeed! As of: |
Comments |
Comment by Mauro Molinari [ 20/Jul/12 ] |
Any hint on this? |
Comment by Mauro Molinari [ 27/Sep/12 ] |
Sorry for insisting :-P |
Comment by Wolfgang Häfelinger [ 27/Oct/12 ] |
I downloaded geronimo@lhasa:~/Downloads/ BUILD SUCCESSFUL Total time: 9.618 secs |
Comment by Mauro Molinari [ 28/Oct/12 ] |
Hmmm... this is a mystery... I'm 100% sure this test case gave problems and I prepared it after I was encountering this problem on a production project (as reported in the forum thread, too). The strange thing is that I can't reproduce now even with Gradle 1.0-milestone-5 (the version I reported the issue against). I'm using the wrapper any maybe I was using it when I opened this bug, too. May something have changed on how the wrapper sets up its environment? I can't explain in another way... I'm sure I had not dreamt about this problem! Feel free to close this issue now. I will report back if I encounter it again. |
Comment by Wolfgang Häfelinger [ 28/Oct/12 ] |
> I can't explain in another way... I'm sure I had not dreamt about this problem! |
Comment by Luke Daley [ 23/Jan/13 ] |
Seems like this is no longer an issue. |