Skip to content

Commit f2b6471

Browse files
committed
Rephrase Non-mutable jar error message for remote-dev
* Fix #34230
1 parent 8e3bb8b commit f2b6471

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/deployment/src/main/java/io/quarkus/deployment/dev/IsolatedRemoteDevModeMain.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ private synchronized JarResult generateApplication() {
9292
AugmentResult start = augmentAction.createProductionApplication();
9393
if (!start.getJar().getType().equalsIgnoreCase(PackageConfig.BuiltInType.MUTABLE_JAR.getValue())) {
9494
throw new RuntimeException(
95-
"remote-dev can only be used with mutable applications generated with the fast-jar format");
95+
"remote-dev can only be used with mutable applications i.e, " +
96+
"using the mutable-jar package type");
9697
}
9798
//now extract the artifacts, to mirror the remote side
9899
DevModeTask.extractDevModeClasses(start.getJar().getPath().getParent(),

0 commit comments

Comments
 (0)