X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=src%2Forg%2Fargeo%2Fbuild%2FMake.java;h=376a66db42e01abd4990bc515e1850d29f40be99;hb=731021f68224b769cffee4d89f2938fc23e56a56;hp=34477cf7639ebcc22ec2800c81a7aaa86479c830;hpb=7896b2e157fd8191aa4e8e8b6bc5c9999a032082;p=cc0%2Fargeo-build.git 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);