Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvladt2011-02-15 09:59:27 -0500
committervladt2011-02-15 10:00:03 -0500
commit0da805d65076d5118187d7b8ff979e420341f771 (patch)
tree33e47f043b6861da4da5e5f573a90dc7044bfdc9 /org.eclipse.m2e.logback.configuration
parent3fc6b5d350d1dd9ae1d6a628c15c4ad2a461178f (diff)
downloadm2e-core-0da805d65076d5118187d7b8ff979e420341f771.tar.gz
m2e-core-0da805d65076d5118187d7b8ff979e420341f771.tar.xz
m2e-core-0da805d65076d5118187d7b8ff979e420341f771.zip
Export the main package
Diffstat (limited to 'org.eclipse.m2e.logback.configuration')
-rw-r--r--org.eclipse.m2e.logback.configuration/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogHelper.java (renamed from org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/internal/logging/LogHelper.java)2
-rw-r--r--org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogPlugin.java (renamed from org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/internal/logging/LogPlugin.java)4
3 files changed, 5 insertions, 4 deletions
diff --git a/org.eclipse.m2e.logback.configuration/META-INF/MANIFEST.MF b/org.eclipse.m2e.logback.configuration/META-INF/MANIFEST.MF
index f88c1104..c12b700a 100644
--- a/org.eclipse.m2e.logback.configuration/META-INF/MANIFEST.MF
+++ b/org.eclipse.m2e.logback.configuration/META-INF/MANIFEST.MF
@@ -4,7 +4,7 @@ Bundle-Name: %Bundle-Name
Bundle-Vendor: %Bundle-Vendor
Bundle-SymbolicName: org.eclipse.m2e.logback.configuration;singleton:=true
Bundle-Version: 0.13.0.qualifier
-Bundle-Activator: org.eclipse.m2e.internal.logging.LogPlugin
+Bundle-Activator: org.eclipse.m2e.logback.configuration.LogPlugin
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.5.0",
ch.qos.logback.classic;bundle-version="0.9.19",
ch.qos.logback.core;bundle-version="0.9.19",
@@ -12,3 +12,4 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.5.0",
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5,
JavaSE-1.6
+Export-Package: org.eclipse.m2e.logback.configuration
diff --git a/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/internal/logging/LogHelper.java b/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogHelper.java
index eb0fbf18..30a1c595 100644
--- a/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/internal/logging/LogHelper.java
+++ b/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogHelper.java
@@ -9,7 +9,7 @@
* Sonatype, Inc. - initial API and implementation
*******************************************************************************/
-package org.eclipse.m2e.internal.logging;
+package org.eclipse.m2e.logback.configuration;
import java.util.Properties;
import java.util.SortedMap;
diff --git a/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/internal/logging/LogPlugin.java b/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogPlugin.java
index 1be9a145..af71c2e2 100644
--- a/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/internal/logging/LogPlugin.java
+++ b/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogPlugin.java
@@ -9,7 +9,7 @@
* Sonatype, Inc. - initial API and implementation
*******************************************************************************/
-package org.eclipse.m2e.internal.logging;
+package org.eclipse.m2e.logback.configuration;
import java.io.File;
import java.io.FileOutputStream;
@@ -100,7 +100,7 @@ public class LogPlugin extends Plugin {
}
}
- private void loadConfiguration(URL configFile) throws JoranException {
+ public static void loadConfiguration(URL configFile) throws JoranException {
LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
lc.reset();

Back to the top