|directory .sbt is on a mapped drive, leads to error on startup||Christopher P||4/13/12 12:12 PM|
I'm on a Windows 7 computer at work that keeps it's user profile directory on a network mapped drive. So instead of c:\users\username\ as my ~ directory, it is \\excalibur\username$\WInntDT\
This seems to work fine for everything else except for SBT, which gives the following error when I add a build.sbt file in the ~\.sbt\plugins\ directory:
Invalid build URI (no handler available): file:/excalibur/username$/WinntDT/.sbt/plugins/
Are there any ideas on why this might be happening and how to fix it?
|Re: directory .sbt is on a mapped drive, leads to error on startup||Jason Zaugg||4/13/12 1:48 PM|
The workaround would be to set the global SBT directory to something on your local disk:
|Re: directory .sbt is on a mapped drive, leads to error on startup||Christopher P||4/13/12 4:03 PM|
Thank you, that works! I guess that's what I've got to do.
|Re: [sbt] Re: directory .sbt is on a mapped drive, leads to error on startup||Mark Harrah||4/13/12 4:40 PM|
On Fri, 13 Apr 2012 16:03:59 -0700 (PDT)
> Thank you, that works! I guess that's what I've got to do.
Alternatively, you might be able to map \\excalibur\username$\ to a drive letter (say, N:) and set -Dsbt.global.base=N:\WinntDT to keep it on your network drive.
|Re: directory .sbt is on a mapped drive, leads to error on startup||David Holtzhouser||10/10/12 2:09 PM|
I had the same problem (and similar problems with Grails, RoR, Maven due to ridiculous forced home network mappings in a corporate environment).
Does the sbt -Dsbt.global.base=c:/sbt permanently set the home somewhere in configuration for SBT, or is this something that has to be appended each time you run it?
If it does modify the home in config, where might that live?
|Re: [sbt] Re: directory .sbt is on a mapped drive, leads to error on startup||Mark Harrah||10/11/12 5:09 AM|
On Wed, 10 Oct 2012 14:09:33 -0700 (PDT)I believe the underlying problem was recently minimized here: https://github.com/harrah/xsbt/issues/564
> Does the *sbt -Dsbt.global.base=c:/sbt *permanently set the home
> somewhere in configuration for SBT, or is this something that has to beIt has to be appended each time. You can put it in your sbt startup batch file to make it permanent. (I don't know if this is a good idea if you installed using the installer.)
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/Pyse3vsJ0-8J.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.