Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-07-07 15:48:19 -0400
committerMartin Taal2011-07-07 15:48:19 -0400
commit6dc1619bac5764a7c0e00294d46974e07d91953f (patch)
treeee7be9c5d67a10baecef5f05ad2b2161b5c988ad /plugins
parenta26e2dfc5db67474e97ad326f9a49bbe2e6efa06 (diff)
downloadcdo-6dc1619bac5764a7c0e00294d46974e07d91953f.tar.gz
cdo-6dc1619bac5764a7c0e00294d46974e07d91953f.tar.xz
cdo-6dc1619bac5764a7c0e00294d46974e07d91953f.zip
Initial import.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.classpath7
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.project28
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/META-INF/MANIFEST.MF8
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.html28
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.ini15
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.mappings6
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.properties31
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/build.properties12
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/copyright.txt8
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/modeling32.pngbin0 -> 2414 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/plugin.properties13
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/src/log4j.properties42
13 files changed, 206 insertions, 0 deletions
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 @@
+<?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.emf.cdo.examples.hibernate.log4j/.project b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.project
new file mode 100644
index 0000000000..3ad01b3937
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.emf.cdo.examples.hibernate.log4j</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.emf.cdo.examples.hibernate.log4j/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..9f1c095e76
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Thu Jul 07 21:43:50 CEST 2011
+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.emf.cdo.examples.hibernate.log4j/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..1a822d4823
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/META-INF/MANIFEST.MF
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.emf.cdo.examples.hibernate.log4j
+Bundle-Version: 4.0.100.qualifier
+Fragment-Host: org.apache.log4j;bundle-version="1.2.12"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-Vendor: %providerName
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.html b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.html
new file mode 100644
index 0000000000..d35d5aed64
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) 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 <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
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
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.log4j/modeling32.png
Binary files 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

Back to the top