Project

General

Profile

Bug #3545

Build fails on Windows when build dir on different drive letter than the gradle dependencies

Added by Hynek Cihlar about 6 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:

History

#1 Updated by Hynek Cihlar about 6 years ago

On 28.3.2018 17:23, Greg Shah wrote:

:ant-prepare FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':ant-prepare'. > No suitable relative path from E:\prog\poc\reports\p2j\build to C:\Users\GregS0000\.gradle\caches\modules-2\files-2.1\org.aspectj\aspectjtools\1.8.10\5c5957ee4615bde33b54ce965f5b85b8827b97d5\aspectjtools-1.8.10.jar * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED

#2 Updated by Hynek Cihlar about 3 years ago

As a workaround make sure FWD project is located on the same drive letter as the Gradle dependencies. Do one of the following.

1. Copy FWD project to the drive letter where Gradle downloads its dependencies. By default this is the user's home dir on the system drive.

2. Change the directory where Gradle downloads dependencies: edit gradle.properties and set systemProp.gradle.user.home to the desired directory.

#3 Updated by Greg Shah about 3 years ago

Is this a bug in FWD's usage of Gradle or is it a limitation of Gradle?

#4 Updated by Hynek Cihlar about 3 years ago

Greg Shah wrote:

Is this a bug in FWD's usage of Gradle or is it a limitation of Gradle?

This looks like a bug, but I didn't find a tracker for this. Before reporting this I will try to update to the latest version and retest with that.

Also available in: Atom PDF