On Tue, 13 May 2014 21:27:44 GMT, Sönke Ludwig wrote:
On Tue, 13 May 2014 18:29:03 GMT, Andrej Mitrovic wrote:
On Mon, 12 May 2014 09:00:32 GMT, Andrej Mitrovic wrote:
On Mon, 12 May 2014 07:48:23 +0200, Sönke Ludwig wrote:
so it will probably require an additional
shortenPath(path, base)
function that conditionally does the right
thing. I can look into that.Yeah I was just thinking that in some cases use absolute paths could create shorter paths, so this could be a good idea.
Is there any workaround I can use right now other than to run
set APPDATA=C:\TEMP
before running dub to shorten the paths? I'm now constantly running into this issue because I have enough dependencies now which trigger path length issues.As a temporary workaround, you could move all packages in
%APPDATA%\dub\packages
toC:\dubpacks
or similar and thendub add-path C:\dubpacks
.
Has any solution been found for this issue? I am trying to get dub in our CI builds :) Sadly I am stuck using Maven to drive dub at the moment. (work in a Java shop, getting a small part of the project in D was tricky enough)