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
Assume a Windows system with restricted permissions to the developer... The developer can only set "user environment variables" but not "system environmenent variables".
In this case EMBEDDED_MONGO_ARTIFACTS is 'null' in de.flapdoodle.embed.mongo.transitions.ExtractFileSet.persistentBaseDir() and user.home is used instead.
The same behaviour applies to the vmarg -DEMBEDDED_MONGO_ARTIFACTS=... in the Eclipse test configuration or in the eclipse.ini whereas -Dde.flapdoodle.embed.io.tmpdir=... properly works.
The text was updated successfully, but these errors were encountered:
@blafoo hm.. AFAIK there is no special call to get user env variables on windows.. so System.getenv() should provide system and user env variables. But maybe your user env variable is not visible to the current session, maybe logoout/login could help.
btw: i am not sure if vmarg is the way to go .. i could add a property for that.
@michaelmosmann May be the cause is that a new process is started which runs in a different user context?! A property like de.flapdoodle.embed.io.artdir should solve the problem and beyond it would unify the way how to configure the application.
Assume a Windows system with restricted permissions to the developer... The developer can only set "user environment variables" but not "system environmenent variables".
In this case EMBEDDED_MONGO_ARTIFACTS is 'null' in de.flapdoodle.embed.mongo.transitions.ExtractFileSet.persistentBaseDir() and user.home is used instead.
The same behaviour applies to the vmarg -DEMBEDDED_MONGO_ARTIFACTS=... in the Eclipse test configuration or in the eclipse.ini whereas -Dde.flapdoodle.embed.io.tmpdir=... properly works.
The text was updated successfully, but these errors were encountered: