From c93dde36daee4ba0c9af11cc335498b5b09f7862 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Wed, 6 Mar 2024 08:07:04 +0100 Subject: [PATCH] Improve logging --- src/org/argeo/build/Make.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/argeo/build/Make.java b/src/org/argeo/build/Make.java index 34477cf..376a66d 100644 --- a/src/org/argeo/build/Make.java +++ b/src/org/argeo/build/Make.java @@ -312,7 +312,7 @@ public class Make { logger.log(DEBUG, "Packaging took " + duration + " ms"); } - /** Install the bundles. */ + /** Install or uninstall bundles and native output. */ void install(Map> options, boolean uninstall) throws IOException { // check arguments List bundles = options.get("--bundles"); @@ -329,9 +329,9 @@ public class Make { List targetDirs = options.get("--target"); Objects.requireNonNull(targetDirs, "--target argument must be set"); if (targetDirs.size() != 1) - throw new IllegalArgumentException("One and only one --target must be specified"); + throw new IllegalArgumentException("Only one --target must be specified"); Path targetA2 = Paths.get(targetDirs.get(0)); - logger.log(INFO, (uninstall ? "Uninstalling from " : "Installing to ") + targetA2); + logger.log(INFO, (uninstall ? "Uninstalling bundles from " : "Installing bundles to ") + targetA2); final String branch; Path branchMk = sdkSrcBase.resolve(BRANCH_MK); -- 2.30.2