]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.equinox/src/main/java/org/argeo/slc/equinox/cli/Main.java
Clean up directories
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.equinox / src / main / java / org / argeo / slc / equinox / cli / Main.java
index e7f6aa3e9e02090dc4bcf609a5d904c10e50f14c..4258b8aaedc604b1ab6e97c2fb39bc828c2f38f8 100644 (file)
@@ -1,7 +1,21 @@
+/*
+ * Copyright (C) 2007-2012 Argeo GmbH
+ *
+ * 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.equinox.cli;
 
 import org.eclipse.core.runtime.adaptor.EclipseStarter;
-import org.osgi.framework.BundleContext;
 
 @SuppressWarnings("restriction")
 public class Main {
@@ -10,8 +24,7 @@ public class Main {
                try {
                        String confDir = "";
                        String[] equinoxArgs = { "-console", "-conf", confDir };
-                       BundleContext systemBundleContext = EclipseStarter.startup(
-                                       equinoxArgs, null);
+                       EclipseStarter.startup(equinoxArgs, null);
 
                } catch (Exception e) {
                        e.printStackTrace();