[GRADLE-1125] eclipseWtp does not work properly when a dependency resolves to a location for which no Eclipse variable has been defined Created: 17/Aug/10 Updated: 04/Jan/13 Resolved: 24/Nov/10 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 0.9 |
| Fix Version/s: | 0.9-rc-3 |
| Type: | Bug | ||
| Reporter: | Paulo Silveira | Assignee: | Hans Dockter |
| Resolution: | Fixed | Votes: | 0 |
| Attachments: |
|
| Description |
|
As talked to Adam in Mirc, using this gradle build file: http://gist.github.com/532185, and uncommenting the apply war, we have this stacktrace: http://pastie.org/1098680 This only happens because of our compile files(fileTree(dir: lib as File, includes: ['*.jar'])) The proposed workaround by adam that works is as follows: |
| Comments |
| Comment by Andrew Thorburn [ 28/Oct/10 ] |
|
That works fine provided you've only got one project. It seems to collapse if you've got two or more. See the attached archive for an example that fails with gradle-0.9rc1. |