-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Describe the bug
I'm setting the working directory in for quarkusDev task in my Gradle build file via
tasks {
quarkusDev {
setWorkingDir(projectDir.path)
}
}
After updating to any 1.5.0 version of Quarkus I get ${proejct.path}\build\classes\java\main\. as working dir in the app.
Expected behavior
The working directory of the application is set properly.
Actual behavior
The setting is ignored and the classes path is used.
To Reproduce
Steps to reproduce the behavior:
- Create a new project.
- Set a working directory in task configuration (e.g.
C:\tmpon Windows). - Access current working directory in Java (e.g.
System.getProperty("user.dir")orPath.of("")).
Environment (please complete the following information):
- Output of
uname -aorver:Microsoft Windows [Version 10.0.18363.836] - Output of
java -version:
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02)
OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
- GraalVM version (if different from Java):
- Quarkus version or git rev: 1.5.0.Final and 1.5.0.CR1
- Build tool (ie. output of
mvnw --versionorgradlew --version): 6.4.1
Additional context
This does also not work on a Linux machine.
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working