Skip to content

Commit

Permalink
Rephrase Non-mutable jar error message for remote-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rjtmahinay committed Jun 22, 2023
1 parent ae7a5cf commit fd04527
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ private synchronized JarResult generateApplication() {
AugmentResult start = augmentAction.createProductionApplication();
if (!start.getJar().getType().equalsIgnoreCase(PackageConfig.BuiltInType.MUTABLE_JAR.getValue())) {
throw new RuntimeException(
"remote-dev can only be used with mutable applications generated with the fast-jar format");
"remote-dev can only be used with mutable applications i.e, " +
"using the mutable-jar package type");
}
//now extract the artifacts, to mirror the remote side
DevModeTask.extractDevModeClasses(start.getJar().getPath().getParent(),
Expand Down

0 comments on commit fd04527

Please sign in to comment.