From 6dc1619bac5764a7c0e00294d46974e07d91953f Mon Sep 17 00:00:00 2001
From: Martin Taal
Date: Thu, 7 Jul 2011 19:48:19 +0000
Subject: Initial import.
---
.../.classpath | 7 ++++
.../.project | 28 ++++++++++++++
.../.settings/org.eclipse.jdt.core.prefs | 8 ++++
.../META-INF/MANIFEST.MF | 8 ++++
.../about.html | 28 ++++++++++++++
.../about.ini | 15 ++++++++
.../about.mappings | 6 +++
.../about.properties | 31 +++++++++++++++
.../build.properties | 12 ++++++
.../copyright.txt | 8 ++++
.../modeling32.png | Bin 0 -> 2414 bytes
.../plugin.properties | 13 +++++++
.../src/log4j.properties | 42 +++++++++++++++++++++
13 files changed, 206 insertions(+)
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.classpath
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.project
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.settings/org.eclipse.jdt.core.prefs
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/META-INF/MANIFEST.MF
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.html
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.ini
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.mappings
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.properties
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/build.properties
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/copyright.txt
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/modeling32.png
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/plugin.properties
create mode 100644 plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/src/log4j.properties
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.classpath b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.classpath
new file mode 100644
index 0000000000..ad32c83a78
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.classpath
@@ -0,0 +1,7 @@
+
+
June 5, 2007
+The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.
+ +If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.
+ + + diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.ini b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.ini new file mode 100644 index 0000000000..b7e87ca285 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.ini @@ -0,0 +1,15 @@ +# about.ini +# contains information about a feature +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# "%key" are externalized strings defined in about.properties +# This file does not need to be translated. + +# Property "aboutText" contains blurb for "About" dialog (translated) +aboutText=%featureText + +# Property "featureImage" contains path to feature image (32x32) +featureImage=modeling32.png + +# Property "appName" contains name of the application (translated) +appName=%featureName + diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.mappings b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.mappings new file mode 100644 index 0000000000..720ca870fa --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.mappings @@ -0,0 +1,6 @@ +# about.mappings +# contains fill-ins for about.properties +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file does not need to be translated. + +0=@build@ \ No newline at end of file diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.properties b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.properties new file mode 100644 index 0000000000..74dfc800a3 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.properties @@ -0,0 +1,31 @@ +# Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Eike Stepper - initial API and implementation + +# NLS_MESSAGEFORMAT_VAR + +# ============================================================================== +# Do not change the properties between this line and the last line containing: +# %%% END OF TRANSLATED PROPERTIES %%% +# Instead, either redefine an existing property, or create a new property, +# append it to the end of the file, and change the code to use the new name. +# ============================================================================== + +featureName = CDO Model Repository Server Hibernate +featureText = CDO Model Repository Server Hibernate\n\ +Version: {featureVersion}\n\ +Build id: {0}\n\ +\n\ +Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. All rights reserved.\n\ +\n\ +Visit http://wiki.eclipse.org/CDO + +# ============================================================================== +# %%% END OF TRANSLATED PROPERTIES %%% +# The above properties have been shipped for translation. +# ============================================================================== diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/build.properties b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/build.properties new file mode 100644 index 0000000000..3b55a69eb9 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/build.properties @@ -0,0 +1,12 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + about.html,\ + about.ini,\ + about.mappings,\ + about.properties,\ + plugin.properties,\ + copyright.txt,\ + modeling32.png,\ + src/log4j.properties diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/copyright.txt b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/copyright.txt new file mode 100644 index 0000000000..e921242cf0 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/copyright.txt @@ -0,0 +1,8 @@ +Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: + Eike Stepper - initial API and implementation \ No newline at end of file diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/modeling32.png b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/modeling32.png new file mode 100644 index 0000000000..6b08de2ada Binary files /dev/null and b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/modeling32.png differ diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/plugin.properties b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/plugin.properties new file mode 100644 index 0000000000..00dd8b02e4 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/plugin.properties @@ -0,0 +1,13 @@ +# Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Eike Stepper - initial API and implementation + +pluginName = CDO Model Repository Server Hibernate Log4j +providerName = Eclipse Modeling Project + +extension-point.name = Hibernate Log4j Example \ No newline at end of file diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/src/log4j.properties b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/src/log4j.properties new file mode 100644 index 0000000000..73099b4767 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/src/log4j.properties @@ -0,0 +1,42 @@ +# Set root logger level to error and its only appender to A1. +log4j.rootCategory=error, A1 + +# A1 is set to be a ConsoleAppender. +log4j.appender.A1=org.apache.log4j.ConsoleAppender + +# A1 uses PatternLayout. +log4j.appender.A1.layout=org.apache.log4j.PatternLayout +log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n + +#log4j.logger.org.hibernate=error +log4j.logger.org.hibernate=error +#org.hibernate.pretty + +### log HQL query parser activity +log4j.logger.org.hibernate.hql.ast.AST=error + +### log just the SQL +log4j.logger.org.hibernate.SQL=error + +### log JDBC bind parameters ### +log4j.logger.org.hibernate.type=error +#log4j.logger.org.hibernate.type=error + +### log schema export/update ### +log4j.logger.org.hibernate.tool.hbm2ddl=error + +### log HQL parse trees +log4j.logger.org.hibernate.hql=error + +### log cache activity ### +log4j.logger.org.hibernate.cache=error + +### log transaction activity +log4j.logger.org.hibernate.transaction=error + +### log JDBC resource acquisition +log4j.logger.org.hibernate.jdbc=error + +### enable the following line if you want to track down connection ### +### leakages when using DriverManagerConnectionProvider ### +log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=error -- cgit v1.2.3