karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject [1/2] karaf git commit: [KARAF-4805] configfiles are not copied to system directory
Date Wed, 02 Nov 2016 10:47:10 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-4.0.x 9d30b8c83 -> a6b07f68a


[KARAF-4805] configfiles are not copied to system directory


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/ba929347
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/ba929347
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/ba929347

Branch: refs/heads/karaf-4.0.x
Commit: ba929347518b89bec2d3b0f68b60eb59bf89dedf
Parents: 9d30b8c
Author: tterm <tterm@max>
Authored: Wed Oct 26 21:37:11 2016 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Wed Nov 2 11:19:24 2016 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/karaf/profile/assembly/Builder.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/ba929347/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java
----------------------------------------------------------------------
diff --git a/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java b/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java
index cfbbb94..a259b26 100644
--- a/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java
+++ b/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java
@@ -753,6 +753,10 @@ public class Builder {
                     installArtifact(downloader, bundle.getLocation().trim());
                 }
             }
+            // Install config files
+            for (ConfigFile configFile : feature.getConfigfile()) {
+                installArtifact(downloader, configFile.getLocation().trim());
+            }
             for (Conditional cond : feature.getConditional()) {
                 for (Bundle bundle : cond.getBundle()) {
                     if (!ignoreDependencyFlag || !bundle.isDependency()) {


Mime
View raw message