You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by ff...@apache.org on 2015/04/16 06:00:17 UTC

karaf git commit: [KARAF-3611]remove unnecessary code

Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x ecd127492 -> 3ab766add


[KARAF-3611]remove unnecessary code


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

Branch: refs/heads/karaf-3.0.x
Commit: 3ab766add890b0632f1dbaa75f5f785ac5de9d57
Parents: ecd1274
Author: Freeman Fang <fr...@gmail.com>
Authored: Thu Apr 16 12:00:03 2015 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Thu Apr 16 12:00:03 2015 +0800

----------------------------------------------------------------------
 .../karaf/tooling/features/InstallKarsMojo.java       | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/3ab766ad/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
index 141428e..be97abe 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
@@ -288,19 +288,7 @@ public class InstallKarsMojo extends MojoSupport {
         }
 
 
-        // install bundles defined in startup.properties
-        /*getLog().info("Installing bundles defined in startup.properties in the system");
-        Set<?> startupBundles = startupProperties.keySet();
-        for (Object startupBundle : startupBundles) {
-            String bundlePath = this.dependencyHelper.pathFromMaven((String) startupBundle);
-            File bundleFile = new File(systemDirectory, bundlePath);
-            if (!bundleFile.exists()) {
-                File bundleSource = this.dependencyHelper.resolveById((String) startupBundle, getLog());
-                bundleFile.getParentFile().mkdirs();
-                copy(bundleSource, bundleFile);
-            }
-        }*/
-
+        
         // generate the startup.properties file
         getLog().info("Generating the startup.properties file");
         try {