]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/ImportBundlesZip.java
Improve 'do not modify' mode
[gpl/argeo-slc.git] / runtime / org.argeo.slc.repo / src / main / java / org / argeo / slc / repo / osgi / ImportBundlesZip.java
index 7d25cef8cb77e0a3feb51aa06ae59a50ebc1b42c..80574f8f66d8f27053a81717f8036317c3737674 100644 (file)
@@ -43,7 +43,10 @@ import org.sonatype.aether.util.artifact.DefaultArtifact;
 /**
  * Import all bundles in a zip file (typically an Eclipse distribution) into the
  * workspace.
+ * 
+ * @deprecated Use {@link ArchiveWrapper} instead.
  */
+@Deprecated
 public class ImportBundlesZip implements Runnable {
        private final static Log log = LogFactory.getLog(ImportBundlesZip.class);
        private Repository repository;
@@ -100,8 +103,8 @@ public class ImportBundlesZip implements Runnable {
                                        continue entries;
                                }
 
-                               String bundleName = RepoUtils.extractBundleNameFromSourceName(nv
-                                               .getName());
+                               String bundleName = RepoUtils
+                                               .extractBundleNameFromSourceName(nv.getName());
                                // skip excluded bundles and their sources
                                if (excludedBundles.contains(bundleName))
                                        continue entries;