projects
/
cc0
/
argeo-build.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97a0c22
)
Improve logging
author
Mathieu Baudier <mbaudier@argeo.org>
Wed, 6 Mar 2024 07:07:04 +0000
(08:07 +0100)
committer
Mathieu Baudier <mbaudier@argeo.org>
Wed, 6 Mar 2024 07:07:04 +0000
(08:07 +0100)
src/org/argeo/build/Make.java
patch
|
blob
|
history
diff --git
a/src/org/argeo/build/Make.java
b/src/org/argeo/build/Make.java
index 34477cf7639ebcc22ec2800c81a7aaa86479c830..376a66db42e01abd4990bc515e1850d29f40be99 100644
(file)
--- 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");
}
logger.log(DEBUG, "Packaging took " + duration + " ms");
}
- /** Install
the bundles
. */
+ /** Install
or uninstall bundles and native output
. */
void install(Map<String, List<String>> options, boolean uninstall) throws IOException {
// check arguments
List<String> bundles = options.get("--bundles");
void install(Map<String, List<String>> options, boolean uninstall) throws IOException {
// check arguments
List<String> bundles = options.get("--bundles");
@@
-329,9
+329,9
@@
public class Make {
List<String> targetDirs = options.get("--target");
Objects.requireNonNull(targetDirs, "--target argument must be set");
if (targetDirs.size() != 1)
List<String> targetDirs = options.get("--target");
Objects.requireNonNull(targetDirs, "--target argument must be set");
if (targetDirs.size() != 1)
- throw new IllegalArgumentException("On
e and on
ly one --target must be specified");
+ throw new IllegalArgumentException("Only one --target must be specified");
Path targetA2 = Paths.get(targetDirs.get(0));
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);
final String branch;
Path branchMk = sdkSrcBase.resolve(BRANCH_MK);