-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
QuarkusDev terminal mode (:) is not working with gradle #35495
Comments
/cc @glefloch, @quarkusio/devtools |
You added a link to a Zulip discussion, please make sure the description of the issue is comprehensive and doesn't require accessing Zulip This message is automatically generated by a bot. |
Still not working with Quarkus 3.7.4 |
I confirm that's reproducible in the latest Quarkus version (terminal just ignores the # quarkus --version
# 3.11.0
# gradle --version
# ------------------------------------------------------------
# Gradle 8.8
# ------------------------------------------------------------
# Build time: 2024-05-31 21:46:56 UTC
# Revision: 4bd1b3d3fc3f31db5a26eecb416a165b8cc36082
# Kotlin: 1.9.22
# Groovy: 3.0.21
# Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
# JVM: 21.0.3 (Homebrew 21.0.3)
# OS: Linux 5.15.146.1-microsoft-standard-WSL2 amd64
quarkus create --gradle
cd code-with-quarkus
./gradlew quarkusDev
# `quarkus dev` and `./gradlew quarkusDev --console=plain` yield the same result. However, that might be expected behavior: quarkus/docs/src/main/asciidoc/gradle-tooling.adoc Lines 162 to 163 in c4be04f
This is what I get when running the above command with flag LOGS2024-06-04T12:46:22.253-0400 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Forwarding input to daemon: ':\n'
2024-06-04T12:46:22.253-0400 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 26: dispatching class org.gradle.launcher.daemon.protocol.ForwardInput
2024-06-04T12:46:22.254-0400 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 718: received class org.gradle.launcher.daemon.protocol.ForwardInput
2024-06-04T12:46:22.254-0400 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] thread 718: Received IO message from client: org.gradle.launcher.daemon.protocol.ForwardInput@7f7635ed
2024-06-04T12:46:22.254-0400 [DEBUG] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] Writing forwarded input on daemon's stdin.
2024-06-04T12:46:15.169-0400 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger]
2024-06-04T12:46:15.169-0400 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :quarkusDev
2024-06-04T12:46:23.038-0400 [QUIET] [system.out]
2024-06-04T12:46:26.597-0400 [LIFECYCLE] [org.gradle.cache.internal.DefaultFileLockManager]
2024-06-04T12:46:26.597-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:46:26.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:46:26.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:46:26.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:46:26.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:46:26.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:46:36.597-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:46:36.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:46:36.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:46:36.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:46:36.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:46:36.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:46:42.012-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 5: acquired lock on worker lease
2024-06-04T12:46:42.012-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 5: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 2: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 2: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 3: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 3: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] included builds: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] included builds: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 7: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 7: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 6: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 6: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 11: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 11: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 9: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 9: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 10: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 10: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 8: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 8: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 4: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 4: released lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 5: acquired lock on worker lease
2024-06-04T12:46:42.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 5: released lock on worker lease
2024-06-04T12:46:46.597-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:46:46.597-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:46:46.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:46:46.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:46:46.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:46:46.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:46:56.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:46:56.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:46:56.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:46:56.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:46:56.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:46:56.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:47:06.597-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:47:06.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:47:06.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:47:06.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-06-04T12:47:06.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-06-04T12:47:06.598-0400 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-06-04T12:47:12.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 5: acquired lock on worker lease
2024-06-04T12:47:12.018-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 5: released lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 2: acquired lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 2: released lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 5: acquired lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 5: released lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 4: acquired lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 4: released lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 8: acquired lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 8: released lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 10: acquired lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 10: released lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 9: acquired lock on worker lease
2024-06-04T12:47:12.024-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 9: released lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 11: acquired lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 11: released lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 6: acquired lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 6: released lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 7: acquired lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 7: released lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] included builds: acquired lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] included builds: released lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 3: acquired lock on worker lease
2024-06-04T12:47:12.025-0400 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Execution worker Thread 3: released lock on worker lease |
This might shed light on a fix for Gradle: apache/maven#1486 . FYI: maven-mvnd is a maven deamon expected to land on Maven 4, which beta version was released two weeks ago. |
Describe the bug
Working with Quarkus 3.2.4 using gradle 8.2.1 the devMode seems not to support the terminal mode (started pressing ":").
I experienced this under windows but it also seems the case under Linux.
See: https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/QuarkusDev.20terminal.20mode.20.28.3A.29.20with.20gradle
(I specially want to use the terminal mode to define (one character) aliasses to run certain test suites)
I created an example project by:
Then I started the DevMode using gradle:
Pressing "h" (followed by Enter) lists the available commands
and the ":" even does not appear in the output.
Press ":" (followed by Enter) does not work either.
Expected behavior
Terminal mode should also be available using gradle.
Actual behavior
Terminal is not available using gradle.
How to Reproduce?
I created an example project by:
Then I started the DevMode using gradle:
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "17.0.6" 2023-01-17 OpenJDK Runtime Environment Temurin-17.0.6+10 (build 17.0.6+10) OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (build 17.0.6+10, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.3.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.2.1
Additional information
See Zulip-Chat: https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/QuarkusDev.20terminal.20mode.20.28.3A.29.20with.20gradle
The text was updated successfully, but these errors were encountered: