Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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