[GRADLE-1953] "gradle eclipse" creates duplicate classpath entries in 1.0-milestone-6 Created: 22/Nov/11 Updated: 04/Jan/13 Resolved: 30/Nov/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-6 |
Fix Version/s: | 1.0-milestone-7 |
Type: | Bug | ||
Reporter: | Ben McCann | Assignee: | Daz DeBoer |
Resolution: | Fixed | Votes: | 0 |
Issue Links: |
|
Description |
Running "gradle eclipse" multiple times will create an invalid .classpath file. You can see below that it has added the source path "java" multiple times along with "resources". This did not happen with 1.0-milestone-5 and older. <?xml version="1.0" encoding="UTF-8"?> My build.gradle has: resources { srcDir 'resources' } } } Seems like 1.0-milestone-6 is significantly faster than the previous versions, but I'm going to have to revert until this issue is fixed. Can't wait to be able to take advantage of the speed improvements though! |
Comments |
Comment by Daz DeBoer [ 29/Nov/11 ] |
I've confirmed this is an issue. We'll try to get a fix out of Milestone-7. |
Comment by Daz DeBoer [ 29/Nov/11 ] |
I've tracked down the cause of this. For those interested: 1) The SourceFolder loaded from eclipse .classpath has no "dir" value set Fix should be straightforward, now that the cause has been revealed! |