X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.support.osgi%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fosgi%2FFileSystemBundleRegister.java;h=7612853463f2d1db25826b839a3c42801b1b7640;hb=7b8669f41556f46a0f229192d05e2f2592c57d5f;hp=fc272693d5fc67bd46056c84d35d03dbcd72b0cd;hpb=d00482eedbd988497bf33fc202bb2b2b1282f30b;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.support.osgi/src/main/java/org/argeo/slc/osgi/FileSystemBundleRegister.java b/runtime/org.argeo.slc.support.osgi/src/main/java/org/argeo/slc/osgi/FileSystemBundleRegister.java index fc272693d..761285346 100644 --- a/runtime/org.argeo.slc.support.osgi/src/main/java/org/argeo/slc/osgi/FileSystemBundleRegister.java +++ b/runtime/org.argeo.slc.support.osgi/src/main/java/org/argeo/slc/osgi/FileSystemBundleRegister.java @@ -1,10 +1,24 @@ +/* + * Copyright (C) 2007-2012 Mathieu Baudier + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.argeo.slc.osgi; import java.io.File; import java.util.HashSet; import java.util.Properties; import java.util.Set; -import java.util.StringTokenizer; import java.util.jar.JarFile; import java.util.jar.Manifest; @@ -12,12 +26,10 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.osgi.framework.Constants; +/** Experimental */ public class FileSystemBundleRegister implements BundleRegister { private final static Log log = LogFactory .getLog(FileSystemBundleRegister.class); - - private File baseDirectory; - private Properties packagesBundles = null; public String bundleProvidingPackage(String pkg, String version) {