[GRADLE-3013] Avoid throwing an exception if encountering Ivy mediators Created: 03/Feb/14 Updated: 03/Feb/14 Resolved: 03/Feb/14 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.9 |
Fix Version/s: | 1.12-rc-1 |
Type: | Bug | ||
Reporter: | Gradle Forums | Assignee: | Benjamin Muschko |
Resolution: | Fixed | Votes: | 0 |
Description |
Trying to upgrade from 1.7 to either 1.9 or 1.10 I get an exception Failed to add into filestore 'D: Full debug stacktrace of 1.9 at [1]http://pastebin.com/4TcaVsv3 The folder exists, but there is no ivy.xml in it. Manually creating a file in this folder works without problems. |
Comments |
Comment by Gradle Forums [ 03/Feb/14 ] |
I just tried to reproduce your issue but couldn't. This is my setup: repositories { configurations { dependencies { task copyLibs(type: Copy) { Maybe you can try this out on your machine to see it that works for you (run the task copyLibs). If it does work, then I think we'd need to see some details of your build script. |
Comment by Gradle Forums [ 03/Feb/14 ] |
Hi Benjamin, thanks for getting back on this one. Your script works on my machine. We are fetching from a local ivy repo so I need to setup a test case for this. |
Comment by Gradle Forums [ 03/Feb/14 ] |
Hi Benjamin, i've prepared a test case for this: Download 7z from [1]http://ge.tt/2gqGjgG1/v/0?c Needs a windows machine:
This works with gradle 1.7, but fails with 1.9, 1.10, and 1.12 nightly. E:\Temp\GradleIvyResolve>gradle --refresh-dependencies build FAILURE: Build failed with an exception.
FAILURE: Build failed with an exception.
BUILD FAILED Total time: 3.594 secs
BUILD FAILED Total time: 3.594 secs ---------------------------------------------------------------------------------------- |
Comment by Gradle Forums [ 03/Feb/14 ] |
Unfortunately, I currently don't have a Windows machine at hand. In the meantime can you give use the stack trace of this error (-s flag on the command line)? |
Comment by Gradle Forums [ 03/Feb/14 ] |
This is the relevant [1]stack trace. |