Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to specify dcosAuthToken file #40

Open
sjahreis opened this issue Oct 25, 2016 · 1 comment
Open

Add possibility to specify dcosAuthToken file #40

sjahreis opened this issue Oct 25, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@sjahreis
Copy link
Contributor

Overwrite dcosAuthToken(void) with dcosAuthToken(File).

@sjahreis sjahreis added this to the Release 1.0 milestone Oct 25, 2016
@sjahreis sjahreis self-assigned this Oct 25, 2016
@toplac
Copy link
Contributor

toplac commented Oct 28, 2016

This would solve the following issue when running gradle using cygwin on Windows:

./gradlew deployAll --stacktrace results in the following Exception:

Caused by: java.io.FileNotFoundException: C:\Users\t.placht\.dcos\dcos.toml (Das System kann den angegebenen Pfad nicht finden)

The problem is System.getProperty("user.home") returns a path specified in the Windows registry and not the Cygwin home folder.
As a a workaround it is possible to use:

./gradlew deployAll -Duser.home=$HOME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants