You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Credentials do not seem to have loaded, I have hypothesized that this is because the global plugins file didn't get read by SBT.
expectation
When the plugin file contained valid code I would expect to see something in the log that indicated that the plugin got loaded. I would expect the credentials to be available.
When the plugin file contained garbage I would expect to see some kind of error in the log files.
notes
I'm using Windows 7 behind a corporate firewall. Getting credentials to work on Windows is really important to me because our corporate Artifactory rejects anonymous access.
@eed3si9n did you manage to verify that the feature works on Windows? Based on the syntax of your response it looks like you used Linux. It works on Linux for me too - I really want to get it working on Windows as well.
In response to your question - I was able to get it working using SBT 0.12.x. on windows. I've never been able to get it to work with 0.13.x on Windows.
Here's a proof-of-concept error output using Windows and sbt 1
sbt
C:\Users\eed3si9n\.sbt\1.0\plugins\foo.sbt:1: error: not found: value x
x
^
[error] Type error in expressions
Project loading failed: (r)etry, (q)uit, (l)astr, or (i)gnore?
steps
I've got a plugin file which at various times contains the one of the following:
The file was placed in the following locations:
%USERPROFILE%.sbt\0.13\plugins\credentials.sbt
%USERPROFILE%.sbt\plugins\credentials.sbt
problem
Credentials do not seem to have loaded, I have hypothesized that this is because the global plugins file didn't get read by SBT.
expectation
When the plugin file contained valid code I would expect to see something in the log that indicated that the plugin got loaded. I would expect the credentials to be available.
When the plugin file contained garbage I would expect to see some kind of error in the log files.
notes
I'm using Windows 7 behind a corporate firewall. Getting credentials to work on Windows is really important to me because our corporate Artifactory rejects anonymous access.
This was also asked as a Stack Overflow question:
http://stackoverflow.com/questions/41382439/where-do-i-put-global-plugins-for-sbt-0-13-13-on-windows
The text was updated successfully, but these errors were encountered: