Skip to content

jacobdotcosta/quarkus-issue-28443

Repository files navigation

Quarkus issue-28443 tester/reproducer Project

This project uses Quarkus, the Supersonic Subatomic Java Framework.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .

This project is a reproducer/tester for fixing Quarkus issue #28443

Prerequisites

Clone the jacobdotcosta/issue-28443 branch and install this version locally (it will be installed as 999-SNAPSHOT).

$ ./mvnw install -T0.5C -Dno-test-modules -DskipTests -DskipITs

ℹ️ -T0.5C -Dno-test-modules -DskipTests -DskipITs are used to speed up the process.

To build only the Quarkus devtools/gradle/gradle-application-plugin module execute the following statement.

$ ./mvnw install -T0.5C -f devtools/gradle/gradle-application-plugin/

Testing the changes

Verify the changes to the quarkus project

./mvnw verify -T0.5C -f devtools/gradle/gradle-application-plugin/

Install the changes made to the quarkus project.

$ ./mvnw install -T0.5C -Dno-test-modules -DskipTests -DskipITs

You can run your application in dev mode that enables live coding using:

./gradlew quarkusDev -Dquarkus.args="param1=1 param2=2"

> Task :quarkusDev
Listening for transport dt_socket at address: 5005
Press [h] for more options>NG [4s]
Tests pausedv
Press [r] to resume testing, [h] for more options>
Press [r] to resume testing, [o] Toggle test output, [h] for more options>
args: 2
[param1=1, param2=2]

Using the CLI

quarkus dev -Dquarkus.args="param1=1 param2=2"

BUILD SUCCESSFUL in 4s
7 actionable tasks: 1 executed, 6 up-to-date
Listening for transport dt_socket at address: 5005

args: 2
[param1=1, param2=2]

...and...

quarkus dev -- param1=1 param2=2
quarkus dev -- "param1=1 , param2=2"

BUILD SUCCESSFUL in 5s
7 actionable tasks: 6 executed, 1 up-to-date
Listening for transport dt_socket at address: 5005

args: 1
[param1=1 , param2=2]

The integration tests

./mvnw verify -T0.5C -f integration-tests/gradle/ -Dtest=io.quarkus.gradle.devmode.BasicJavaMainApplicationModuleDevModeTest

Cheat sheet

Build quarkus devtools/gradle/gradle-application-plugin module by executing the following statement.

./mvnw install -T0.5C -f devtools/gradle/gradle-application-plugin/

About

reproducer for quarkus issue 28443

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published