You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/05/17 17:14:15 UTC
[camel] branch camel-3.x updated: CAMEL-19360: camel-jbang - Export a set of files
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push:
new c866515f3f0 CAMEL-19360: camel-jbang - Export a set of files
c866515f3f0 is described below
commit c866515f3f05343ae1217be7d77ba04e9f8a9b9c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed May 17 19:13:41 2023 +0200
CAMEL-19360: camel-jbang - Export a set of files
---
.../org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
index b5a1dc8f25f..be17ab04e27 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportBaseCommand.java
@@ -72,9 +72,9 @@ abstract class ExportBaseCommand extends CamelCommand {
@CommandLine.Parameters(description = "The Camel file(s) to export. If no files is specified then what was last run will be exported.",
arity = "0..9", paramLabel = "<files>", parameterConsumer = FilesConsumer.class)
- Path[] filePaths; // Defined only for file path completion; the field never used
+ protected Path[] filePaths; // Defined only for file path completion; the field never used
- List<String> files = new ArrayList<>();
+ protected List<String> files = new ArrayList<>();
@CommandLine.Option(names = { "--profile" }, scope = CommandLine.ScopeType.INHERIT, defaultValue = "application",
description = "Profile to use, which refers to loading properties file with the given profile name. By default application.properties is loaded.")