Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-01-04 11:17:21 -0500
committerHenrik Rentz-Reichert2012-01-04 11:17:21 -0500
commitff4852ed5ec3a0ec36ef0f2313153288dd0e3332 (patch)
treecac318dfd996c142e49195e519dcaa0cbdbc72c4 /plugins/org.eclipse.etrice.logging
parent70121ec8a9f43c71ae28266c2f505a16429848c9 (diff)
downloadorg.eclipse.etrice-ff4852ed5ec3a0ec36ef0f2313153288dd0e3332.tar.gz
org.eclipse.etrice-ff4852ed5ec3a0ec36ef0f2313153288dd0e3332.tar.xz
org.eclipse.etrice-ff4852ed5ec3a0ec36ef0f2313153288dd0e3332.zip
[logging] fragment to configure the log4j logger for Xtext
Diffstat (limited to 'plugins/org.eclipse.etrice.logging')
-rw-r--r--plugins/org.eclipse.etrice.logging/.classpath7
-rw-r--r--plugins/org.eclipse.etrice.logging/.project28
-rw-r--r--plugins/org.eclipse.etrice.logging/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--plugins/org.eclipse.etrice.logging/META-INF/MANIFEST.MF8
-rw-r--r--plugins/org.eclipse.etrice.logging/build.properties4
-rw-r--r--plugins/org.eclipse.etrice.logging/src/log4j.properties7
6 files changed, 62 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.logging/.classpath b/plugins/org.eclipse.etrice.logging/.classpath
new file mode 100644
index 000000000..8a8f1668c
--- /dev/null
+++ b/plugins/org.eclipse.etrice.logging/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.etrice.logging/.project b/plugins/org.eclipse.etrice.logging/.project
new file mode 100644
index 000000000..024bd5830
--- /dev/null
+++ b/plugins/org.eclipse.etrice.logging/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.etrice.logging</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.etrice.logging/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.etrice.logging/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..69ddd4041
--- /dev/null
+++ b/plugins/org.eclipse.etrice.logging/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Wed Jan 04 16:47:33 CET 2012
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/plugins/org.eclipse.etrice.logging/META-INF/MANIFEST.MF b/plugins/org.eclipse.etrice.logging/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..fac3d56d1
--- /dev/null
+++ b/plugins/org.eclipse.etrice.logging/META-INF/MANIFEST.MF
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: eTrice Logging Fragment
+Bundle-SymbolicName: org.eclipse.etrice.logging
+Bundle-Version: 0.1.0.qualifier
+Bundle-Vendor: eTrice (Incubation)
+Fragment-Host: org.apache.log4j;bundle-version="1.2.15"
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/plugins/org.eclipse.etrice.logging/build.properties b/plugins/org.eclipse.etrice.logging/build.properties
new file mode 100644
index 000000000..41eb6ade2
--- /dev/null
+++ b/plugins/org.eclipse.etrice.logging/build.properties
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
diff --git a/plugins/org.eclipse.etrice.logging/src/log4j.properties b/plugins/org.eclipse.etrice.logging/src/log4j.properties
new file mode 100644
index 000000000..4bb6f37ad
--- /dev/null
+++ b/plugins/org.eclipse.etrice.logging/src/log4j.properties
@@ -0,0 +1,7 @@
+log4j.rootCategory=INFO, S
+
+log4j.logger.org.eclipse.xtext=INFO
+
+log4j.appender.S = org.apache.log4j.ConsoleAppender
+log4j.appender.S.layout = org.apache.log4j.PatternLayout
+log4j.appender.S.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n

Back to the top