deleted very annoying toy projects from trunk
authorn.hoffmann <n.hoffmann@localhost>
Fri, 12 Mar 2010 18:08:43 +0000 (18:08 +0000)
committern.hoffmann <n.hoffmann@localhost>
Fri, 12 Mar 2010 18:08:43 +0000 (18:08 +0000)
93 files changed:
.gitattributes
.gitignore
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/reference/ReferenceBase.java
cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/MethodCacheImplTest.java [new file with mode: 0644]
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationController.java
libraryTesterApplication/.classpath [deleted file]
libraryTesterApplication/.project [deleted file]
libraryTesterApplication/cdmResources/applicationContext.xml [deleted file]
libraryTesterApplication/cdmResources/cdm.datasource.xml [deleted file]
libraryTesterApplication/cdmResources/sessionfactory.xml [deleted file]
libraryTesterApplication/lib/antlr-2.7.6.jar [deleted file]
libraryTesterApplication/lib/aopalliance-1.0.jar [deleted file]
libraryTesterApplication/lib/asm-attrs.jar [deleted file]
libraryTesterApplication/lib/asm.jar [deleted file]
libraryTesterApplication/lib/aspectjrt-1.5.2a.jar [deleted file]
libraryTesterApplication/lib/cglib-2.1.3.jar [deleted file]
libraryTesterApplication/lib/commons-collections-2.1.1.jar [deleted file]
libraryTesterApplication/lib/commons-logging-1.0.4.jar [deleted file]
libraryTesterApplication/lib/dom4j-1.6.1.jar [deleted file]
libraryTesterApplication/lib/ehcache-1.2.3.jar [deleted file]
libraryTesterApplication/lib/ejb3-persistence.jar [deleted file]
libraryTesterApplication/lib/hibernate-annotations.jar [deleted file]
libraryTesterApplication/lib/hibernate-commons-annotations.jar [deleted file]
libraryTesterApplication/lib/hibernate-validator.jar [deleted file]
libraryTesterApplication/lib/hibernate3.jar [deleted file]
libraryTesterApplication/lib/hsqldb.jar [deleted file]
libraryTesterApplication/lib/javassist.jar [deleted file]
libraryTesterApplication/lib/jaxb-api.jar [deleted file]
libraryTesterApplication/lib/jaxb-impl-2.0-sources.jar [deleted file]
libraryTesterApplication/lib/jaxb-impl-2.0.jar [deleted file]
libraryTesterApplication/lib/jdbc2_0-stdext.jar [deleted file]
libraryTesterApplication/lib/jdom-1.0.jar [deleted file]
libraryTesterApplication/lib/jta.jar [deleted file]
libraryTesterApplication/lib/jtds-1.2.2.jar [deleted file]
libraryTesterApplication/lib/junit-4.4.jar [deleted file]
libraryTesterApplication/lib/log4j-1.2.14.jar [deleted file]
libraryTesterApplication/lib/msbase-2000.3.jar [deleted file]
libraryTesterApplication/lib/mssqlserver-2000.3.jar [deleted file]
libraryTesterApplication/lib/msutil-2000.3.jar [deleted file]
libraryTesterApplication/lib/mysql-connector-java-3.1.14-bin.jar [deleted file]
libraryTesterApplication/lib/opencsv-1.8.jar [deleted file]
libraryTesterApplication/lib/postgresql-8.2-504.jdbc4.jar [deleted file]
libraryTesterApplication/lib/spring-2.5.jar [deleted file]
libraryTesterApplication/lib/spring-beans-2.5.jar [deleted file]
libraryTesterApplication/lib/spring-context-2.5.jar [deleted file]
libraryTesterApplication/lib/spring-core-2.5.jar [deleted file]
libraryTesterApplication/lib/spring-jdbc-2.5.jar [deleted file]
libraryTesterApplication/lib/spring-orm-2.5.jar [deleted file]
libraryTesterApplication/lib/spring-test-2.5.jar [deleted file]
libraryTesterApplication/lib/spring-tx-2.5.jar [deleted file]
libraryTesterApplication/lib/xercesImpl.jar [deleted file]
libraryTesterApplication/lib/xml-apis.jar [deleted file]
libraryTesterApplication/src/CdmDestinations.java [deleted file]
libraryTesterApplication/src/Profiling.java [deleted file]
libraryTesterApplication/src/testJar/TestJarMain.java [deleted file]
musiclib-hibernatetest/listAnnotatedClasses.py [deleted file]
musiclib-hibernatetest/pom.xml [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/model/Annotatable.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/model/Annotation.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/model/Band.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/model/EntityBase.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/model/Label.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/model/Record.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/model/Track.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/model/package-info.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/DaoBase.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/GenericDao.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/IDao.java [deleted file]
musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/RecordDaoImpl.java [deleted file]
musiclib-hibernatetest/src/main/resources/appInitContext.xml [deleted file]
musiclib-hibernatetest/src/main/resources/applicationContext.xml [deleted file]
musiclib-hibernatetest/src/main/resources/log4j.properties [deleted file]
musiclib-hibernatetest/src/site/site.xml [deleted file]
musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/DatabaseInitialiser.java [deleted file]
musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/RecordDaoImplTest.java [deleted file]
musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/TestIt.java [deleted file]
musiclib-hibernatetest/target/mvn-eclipse-cache.properties [deleted file]
pluginTesterApplication/.classpath [deleted file]
pluginTesterApplication/.project [deleted file]
pluginTesterApplication/META-INF/MANIFEST.MF [deleted file]
pluginTesterApplication/build.properties [deleted file]
pluginTesterApplication/icons/alt_window_16.gif [deleted file]
pluginTesterApplication/icons/alt_window_32.gif [deleted file]
pluginTesterApplication/plugin.xml [deleted file]
pluginTesterApplication/src/plugintesterapplication/Activator.java [deleted file]
pluginTesterApplication/src/plugintesterapplication/Application.java [deleted file]
pluginTesterApplication/src/plugintesterapplication/ApplicationActionBarAdvisor.java [deleted file]
pluginTesterApplication/src/plugintesterapplication/ApplicationWorkbenchAdvisor.java [deleted file]
pluginTesterApplication/src/plugintesterapplication/ApplicationWorkbenchWindowAdvisor.java [deleted file]
pluginTesterApplication/src/plugintesterapplication/Perspective.java [deleted file]
pluginTesterApplication/src/plugintesterapplication/View.java [deleted file]
pluginTesterApplication/src/test/testClass.java [deleted file]
pom.xml

index 2096dfd4c12ab837db9e83055e78506d4ff22540..f8ca396de6218392c85bea149a06f2f2da4aafc9 100644 (file)
@@ -2167,6 +2167,7 @@ cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/database/types/SqlServer2005Da
 cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/database/types/SybaseDatabaseTypeTest.java -text
 cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/datagenerator/TaxonGenerator.java -text
 cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/BeanInitializerIntegration.java -text
+cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/MethodCacheImplTest.java -text
 cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/hibernate/FreeTextSearchIntegration.java -text
 cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/hibernate/agent/AgentDaoImplTest.java -text
 cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/hibernate/common/AnnotationDaoTest.java -text
@@ -2836,97 +2837,10 @@ eclipse-plugin/yjp-controller-api-redist-8.0.1.jar -text
 eclipse-updateSite/.project -text
 eclipse-updateSite/index.html -text
 eclipse-updateSite/site.xml -text
-libraryTesterApplication/.classpath -text
-libraryTesterApplication/.project -text
-libraryTesterApplication/cdmResources/applicationContext.xml -text
-libraryTesterApplication/cdmResources/cdm.datasource.xml -text
-libraryTesterApplication/cdmResources/sessionfactory.xml -text
-libraryTesterApplication/lib/antlr-2.7.6.jar -text
-libraryTesterApplication/lib/aopalliance-1.0.jar -text
-libraryTesterApplication/lib/asm-attrs.jar -text
-libraryTesterApplication/lib/asm.jar -text
-libraryTesterApplication/lib/aspectjrt-1.5.2a.jar -text
-libraryTesterApplication/lib/cglib-2.1.3.jar -text
-libraryTesterApplication/lib/commons-collections-2.1.1.jar -text
-libraryTesterApplication/lib/commons-logging-1.0.4.jar -text
-libraryTesterApplication/lib/dom4j-1.6.1.jar -text
-libraryTesterApplication/lib/ehcache-1.2.3.jar -text
-libraryTesterApplication/lib/ejb3-persistence.jar -text
-libraryTesterApplication/lib/hibernate-annotations.jar -text
-libraryTesterApplication/lib/hibernate-commons-annotations.jar -text
-libraryTesterApplication/lib/hibernate-validator.jar -text
-libraryTesterApplication/lib/hibernate3.jar -text
-libraryTesterApplication/lib/hsqldb.jar -text
-libraryTesterApplication/lib/javassist.jar -text
-libraryTesterApplication/lib/jaxb-api.jar -text
-libraryTesterApplication/lib/jaxb-impl-2.0-sources.jar -text
-libraryTesterApplication/lib/jaxb-impl-2.0.jar -text
-libraryTesterApplication/lib/jdbc2_0-stdext.jar -text
-libraryTesterApplication/lib/jdom-1.0.jar -text
-libraryTesterApplication/lib/jta.jar -text
-libraryTesterApplication/lib/jtds-1.2.2.jar -text
-libraryTesterApplication/lib/junit-4.4.jar -text
-libraryTesterApplication/lib/log4j-1.2.14.jar -text
-libraryTesterApplication/lib/msbase-2000.3.jar -text
-libraryTesterApplication/lib/mssqlserver-2000.3.jar -text
-libraryTesterApplication/lib/msutil-2000.3.jar -text
-libraryTesterApplication/lib/mysql-connector-java-3.1.14-bin.jar -text
-libraryTesterApplication/lib/opencsv-1.8.jar -text
-libraryTesterApplication/lib/postgresql-8.2-504.jdbc4.jar -text
-libraryTesterApplication/lib/spring-2.5.jar -text
-libraryTesterApplication/lib/spring-beans-2.5.jar -text
-libraryTesterApplication/lib/spring-context-2.5.jar -text
-libraryTesterApplication/lib/spring-core-2.5.jar -text
-libraryTesterApplication/lib/spring-jdbc-2.5.jar -text
-libraryTesterApplication/lib/spring-orm-2.5.jar -text
-libraryTesterApplication/lib/spring-test-2.5.jar -text
-libraryTesterApplication/lib/spring-tx-2.5.jar -text
-libraryTesterApplication/lib/xercesImpl.jar -text
-libraryTesterApplication/lib/xml-apis.jar -text
-libraryTesterApplication/src/CdmDestinations.java -text
-libraryTesterApplication/src/Profiling.java -text
-libraryTesterApplication/src/testJar/TestJarMain.java -text
-musiclib-hibernatetest/listAnnotatedClasses.py -text
-musiclib-hibernatetest/pom.xml -text
-musiclib-hibernatetest/src/main/java/org/bgbm/model/Annotatable.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/model/Annotation.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/model/Band.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/model/EntityBase.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/model/Label.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/model/Record.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/model/Track.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/model/package-info.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/DaoBase.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/GenericDao.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/IDao.java -text
-musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/RecordDaoImpl.java -text
-musiclib-hibernatetest/src/main/resources/appInitContext.xml -text
-musiclib-hibernatetest/src/main/resources/applicationContext.xml -text
-musiclib-hibernatetest/src/main/resources/log4j.properties -text
-musiclib-hibernatetest/src/site/site.xml -text
-musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/DatabaseInitialiser.java -text
-musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/RecordDaoImplTest.java -text
-musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/TestIt.java -text
-musiclib-hibernatetest/target/mvn-eclipse-cache.properties -text
 pdfdocs/cdm.pdf -text
 pdfdocs/cdmlib-config.properties -text
 pdfdocs/cdmlib-doc.sh -text
 pdfdocs/pdfdoclet-1.0.2-all.jar -text
-pluginTesterApplication/.classpath -text
-pluginTesterApplication/.project -text
-pluginTesterApplication/META-INF/MANIFEST.MF -text
-pluginTesterApplication/build.properties -text
-pluginTesterApplication/icons/alt_window_16.gif -text
-pluginTesterApplication/icons/alt_window_32.gif -text
-pluginTesterApplication/plugin.xml -text
-pluginTesterApplication/src/plugintesterapplication/Activator.java -text
-pluginTesterApplication/src/plugintesterapplication/Application.java -text
-pluginTesterApplication/src/plugintesterapplication/ApplicationActionBarAdvisor.java -text
-pluginTesterApplication/src/plugintesterapplication/ApplicationWorkbenchAdvisor.java -text
-pluginTesterApplication/src/plugintesterapplication/ApplicationWorkbenchWindowAdvisor.java -text
-pluginTesterApplication/src/plugintesterapplication/Perspective.java -text
-pluginTesterApplication/src/plugintesterapplication/View.java -text
-pluginTesterApplication/src/test/testClass.java -text
 /pom.xml -text
 /settings.xml -text
 src/docbkx/ReferenceDocumentation.xml -text
index 16863cb8050d4b9a4b48188447de0cc409e32023..c5f539ada6464e59585a32080f4e7955627d48e0 100644 (file)
@@ -130,8 +130,5 @@ eclipse-updateSite/features/*.jar
 eclipse-updateSite/plugins/*.jar
 eclipse-updateSite/plugins/*.zip
 eclipse-updateSite/src
-musiclib-hibernatetest/.classpath
-musiclib-hibernatetest/.project
-musiclib-hibernatetest/.settings
 /target
 /testANTLR
index d293d25808c32ea72a5df2a8b85bf3c542b65afa..33c58dc29eeea51a4e021d430401e1cbc4df443a 100644 (file)
@@ -10,7 +10,6 @@
 package eu.etaxonomy.cdm.model.reference;
 
 
-import java.lang.reflect.Method;
 import java.util.List;
 
 import javax.persistence.Column;
@@ -42,10 +41,8 @@ import org.hibernate.search.annotations.Index;
 import org.hibernate.search.annotations.IndexedEmbedded;
 import org.hibernate.validator.constraints.Length;
 
-import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
 import eu.etaxonomy.cdm.model.agent.Institution;
 import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
-import eu.etaxonomy.cdm.model.common.CdmBase;
 import eu.etaxonomy.cdm.model.common.TimePeriod;
 import eu.etaxonomy.cdm.model.media.IdentifiableMediaEntity;
 import eu.etaxonomy.cdm.model.name.TaxonNameBase;
diff --git a/cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/MethodCacheImplTest.java b/cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/MethodCacheImplTest.java
new file mode 100644 (file)
index 0000000..abe86f2
--- /dev/null
@@ -0,0 +1,50 @@
+
+package eu.etaxonomy.cdm.persistence.dao;
+
+import java.lang.reflect.Method;
+
+import junitx.framework.Assert;
+
+import org.apache.log4j.Logger;
+import org.junit.Before;
+import org.junit.Test;
+
+import eu.etaxonomy.cdm.model.name.BotanicalName;
+import eu.etaxonomy.cdm.model.reference.ReferenceBase;
+import eu.etaxonomy.cdm.model.reference.ReferenceFactory;
+import eu.etaxonomy.cdm.model.taxon.Taxon;
+
+public class MethodCacheImplTest {
+       private static final Logger logger = Logger
+                       .getLogger(MethodCacheImplTest.class);
+       private Taxon taxon;
+       private BotanicalName botanicalName;
+
+       IMethodCache methodCache;
+       private ReferenceBase nomenclaturalReference;
+       
+       @Before
+       public void setUp() throws Exception {
+               methodCache = new MethodCacheImpl();
+               taxon = Taxon.NewInstance(null, null);
+               botanicalName = BotanicalName.NewInstance(null);
+               nomenclaturalReference = ReferenceFactory.newInstance().newBook();
+       }
+
+       /**
+        * Test for a method that is not declared by the class, but by the superclass
+        * also the parameter of the matching method is more generic than the given parameter
+        */
+       @Test
+       public void testGetMethod() {
+               Method method = methodCache.getMethod(taxon.getClass(), "setName", botanicalName.getClass());
+               Assert.assertNotNull("Method should exist", method);
+       }
+       
+       @Test
+       public void testGetMethodWhereMethodParameterIsInterface(){
+               Method method = methodCache.getMethod(botanicalName.getClass(), "setNomenclaturalReference", nomenclaturalReference.getClass());
+               Assert.assertNotNull("Method should exist", method);
+       }
+       
+}
index 7233191db979d0150500312c536774f3f7ef749b..e32805cb34b897d380e55bb9f0a80f76434a0fc2 100644 (file)
@@ -11,7 +11,6 @@
 \r
 package eu.etaxonomy.cdm.api.application;\r
 \r
-import java.util.ArrayList;\r
 import java.util.List;\r
 import java.util.UUID;\r
 \r
@@ -56,12 +55,8 @@ import eu.etaxonomy.cdm.database.ICdmDataSource;
 import eu.etaxonomy.cdm.model.common.CdmBase;\r
 import eu.etaxonomy.cdm.model.common.CdmMetaData;\r
 import eu.etaxonomy.cdm.model.common.DefinedTermBase;\r
-import eu.etaxonomy.cdm.model.common.TermVocabulary;\r
 import eu.etaxonomy.cdm.model.common.User;\r
-import eu.etaxonomy.cdm.model.common.VocabularyEnum;\r
 import eu.etaxonomy.cdm.model.common.init.TermNotFoundException;\r
-import eu.etaxonomy.cdm.model.description.Feature;\r
-import eu.etaxonomy.cdm.model.description.FeatureTree;\r
 \r
 \r
 /**\r
diff --git a/libraryTesterApplication/.classpath b/libraryTesterApplication/.classpath
deleted file mode 100644 (file)
index 08d6bd2..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<classpath>\r
-       <classpathentry kind="src" path="src"/>\r
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>\r
-       <classpathentry kind="lib" path="lib/log4j-1.2.14.jar"/>\r
-       <classpathentry kind="lib" path="C:/Dokumente und Einstellungen/a.mueller/.m2/repository/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar"/>\r
-       <classpathentry kind="lib" path="lib/aspectjrt-1.5.2a.jar"/>\r
-       <classpathentry kind="lib" path="lib/antlr-2.7.6.jar"/>\r
-       <classpathentry kind="lib" path="lib/asm.jar"/>\r
-       <classpathentry kind="lib" path="lib/asm-attrs.jar"/>\r
-       <classpathentry kind="lib" path="lib/cglib-2.1.3.jar"/>\r
-       <classpathentry kind="lib" path="lib/commons-collections-2.1.1.jar"/>\r
-       <classpathentry kind="lib" path="lib/commons-logging-1.0.4.jar"/>\r
-       <classpathentry kind="lib" path="lib/dom4j-1.6.1.jar"/>\r
-       <classpathentry kind="lib" path="lib/ehcache-1.2.3.jar"/>\r
-       <classpathentry kind="lib" path="lib/ejb3-persistence.jar"/>\r
-       <classpathentry kind="lib" path="lib/hibernate3.jar"/>\r
-       <classpathentry kind="lib" path="lib/hibernate-annotations.jar"/>\r
-       <classpathentry kind="lib" path="lib/hibernate-commons-annotations.jar"/>\r
-       <classpathentry kind="lib" path="lib/hibernate-validator.jar"/>\r
-       <classpathentry kind="lib" path="lib/hsqldb.jar"/>\r
-       <classpathentry kind="lib" path="lib/javassist.jar"/>\r
-       <classpathentry kind="lib" path="lib/jaxb-api.jar"/>\r
-       <classpathentry kind="lib" path="lib/jaxb-impl-2.0.jar"/>\r
-       <classpathentry kind="lib" path="lib/jaxb-impl-2.0-sources.jar"/>\r
-       <classpathentry kind="lib" path="lib/jdbc2_0-stdext.jar"/>\r
-       <classpathentry kind="lib" path="lib/jta.jar"/>\r
-       <classpathentry kind="lib" path="lib/junit-4.4.jar"/>\r
-       <classpathentry kind="lib" path="lib/mysql-connector-java-3.1.14-bin.jar"/>\r
-       <classpathentry kind="lib" path="lib/xercesImpl.jar"/>\r
-       <classpathentry kind="lib" path="lib/xml-apis.jar"/>\r
-       <classpathentry kind="lib" path="lib/jdom-1.0.jar"/>\r
-       <classpathentry kind="lib" path="lib/opencsv-1.8.jar"/>\r
-       <classpathentry kind="lib" path="lib/msbase-2000.3.jar"/>\r
-       <classpathentry kind="lib" path="lib/mssqlserver-2000.3.jar"/>\r
-       <classpathentry kind="lib" path="lib/msutil-2000.3.jar"/>\r
-       <classpathentry kind="lib" path="lib/jtds-1.2.2.jar"/>\r
-       <classpathentry kind="lib" path="lib/postgresql-8.2-504.jdbc4.jar"/>\r
-       <classpathentry kind="lib" path="lib/spring-beans-2.5.jar" sourcepath="C:/Dokumente und Einstellungen/a.mueller/.m2/repository/org/springframework/spring-beans/2.5/spring-beans-2.5-sources.jar"/>\r
-       <classpathentry kind="lib" path="lib/spring-context-2.5.jar" sourcepath="C:/Dokumente und Einstellungen/a.mueller/.m2/repository/org/springframework/spring-context/2.5/spring-context-2.5-sources.jar"/>\r
-       <classpathentry kind="lib" path="lib/spring-core-2.5.jar" sourcepath="C:/Dokumente und Einstellungen/a.mueller/.m2/repository/org/springframework/spring-core/2.5/spring-core-2.5-sources.jar"/>\r
-       <classpathentry kind="lib" path="lib/spring-jdbc-2.5.jar"/>\r
-       <classpathentry kind="lib" path="lib/spring-orm-2.5.jar"/>\r
-       <classpathentry kind="lib" path="lib/spring-test-2.5.jar"/>\r
-       <classpathentry kind="lib" path="lib/spring-tx-2.5.jar"/>\r
-       <classpathentry kind="lib" path="lib/spring-2.5.jar"/>\r
-       <classpathentry kind="lib" path="lib/aopalliance-1.0.jar"/>\r
-       <classpathentry kind="lib" path="lib/cdmlib-commons-1.3.jar"/>\r
-       <classpathentry kind="lib" path="lib/cdmlib-model-1.3.jar"/>\r
-       <classpathentry kind="lib" path="lib/cdmlib-persistence-1.3.jar" sourcepath="C:/Dokumente und Einstellungen/a.mueller/.m2/repository/eu/etaxonomy/cdmlib-persistence/1.3/cdmlib-persistence-1.3-sources.jar"/>\r
-       <classpathentry kind="lib" path="lib/cdmlib-services-1.3.jar" sourcepath="C:/Dokumente und Einstellungen/a.mueller/.m2/repository/eu/etaxonomy/cdmlib-services/1.3/cdmlib-services-1.3-sources.jar"/>\r
-       <classpathentry kind="output" path="bin"/>\r
-</classpath>\r
diff --git a/libraryTesterApplication/.project b/libraryTesterApplication/.project
deleted file mode 100644 (file)
index 7af00a0..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<projectDescription>\r
-       <name>libraryTesterApplication</name>\r
-       <comment></comment>\r
-       <projects>\r
-       </projects>\r
-       <buildSpec>\r
-               <buildCommand>\r
-                       <name>org.eclipse.jdt.core.javabuilder</name>\r
-                       <arguments>\r
-                       </arguments>\r
-               </buildCommand>\r
-       </buildSpec>\r
-       <natures>\r
-               <nature>org.eclipse.jdt.core.javanature</nature>\r
-       </natures>\r
-</projectDescription>\r
diff --git a/libraryTesterApplication/cdmResources/applicationContext.xml b/libraryTesterApplication/cdmResources/applicationContext.xml
deleted file mode 100644 (file)
index 90fbf73..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans      http://www.springframework.org/schema/beans/spring-beans-2.5.xsd     http://www.springframework.org/schema/context     http://www.springframework.org/schema/context/spring-context-2.5.xsd">\r
-  <import resource="sessionfactory.xml" />\r
-  <import resource="cdm.datasource.xml" />\r
-</beans>\r
-\r
diff --git a/libraryTesterApplication/cdmResources/cdm.datasource.xml b/libraryTesterApplication/cdmResources/cdm.datasource.xml
deleted file mode 100644 (file)
index ff4cb2f..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans      http://www.springframework.org/schema/beans/spring-beans-2.5.xsd     http://www.springframework.org/schema/context     http://www.springframework.org/schema/context/spring-context-2.5.xsd">\r
-  <bean id="defaultDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">\r
-    <property name="driverClassName" value="com.mysql.jdbc.Driver" />\r
-    <property name="url" value="jdbc:mysql://192.168.2.10/cdm_test_lib" />\r
-    <property name="username" value="edit" />\r
-    <property name="password" value="wp5" />\r
-  </bean>\r
-  <bean id="testSqlServerDataSource" lazy-init="true" class="org.springframework.jdbc.datasource.DriverManagerDataSource">\r
-    <property name="driverClassName" value="com.microsoft.jdbc.sqlserver.SQLServerDriver" />\r
-    <property name="url" value="jdbc:microsoft:sqlserver://LAPTOPHP:1433;databaseName=cdmTest;SelectMethod=cursor" />\r
-    <property name="username" value="edit" />\r
-    <property name="password" value="wp5" />\r
-  </bean>\r
-  <bean id="testPostgreDataSource" lazy-init="true" class="org.springframework.jdbc.datasource.DriverManagerDataSource">\r
-    <property name="driverClassName" value="org.postgresql.Driver" />\r
-    <property name="url" value="jdbc:postgresql://192.168.1.17:5432/cdm_test" />\r
-    <property name="username" value="edit" />\r
-    <property name="password" value="schalke" />\r
-  </bean>\r
-  <bean id="localHsqlDataSource" lazy-init="true" class="eu.etaxonomy.cdm.database.LocalHsqldb" init-method="init" destroy-method="destroy">\r
-    <!-- property name="driverClassName" value="org.hsqldb.jdbcDriver"/-->\r
-    <!-- property name="pureUrl" value="jdbc:hsqldb:hsql://localhost/"/-->\r
-    <!-- property name="dbName" value="cdm"/> -->\r
-    <property name="username" value="sa" />\r
-    <property name="password" value="" />\r
-    <!--  <property name="dbPath" value="C:\tmp\cdmDb\"/> -->\r
-    <property name="startServer" value="true" />\r
-    <property name="silent" value="true" />\r
-  </bean>\r
-</beans>\r
-\r
diff --git a/libraryTesterApplication/cdmResources/sessionfactory.xml b/libraryTesterApplication/cdmResources/sessionfactory.xml
deleted file mode 100644 (file)
index ce50e71..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans      http://www.springframework.org/schema/beans/spring-beans-2.5.xsd     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd     ">\r
-  <context:component-scan base-package="eu.etaxonomy.cdm" />\r
-  <!-- enable the configuration of transactional behavior based on annotations -->\r
-  <tx:annotation-driven transaction-manager="transactionManager" />\r
-  <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">\r
-    <property name="sessionFactory" ref="sessionFactory" />\r
-  </bean>\r
-  <bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">\r
-    <property name="dataSource" ref="testSqlServerDataSource" />\r
-    <property name="namingStrategy">\r
-      <bean class="org.hibernate.cfg.DefaultComponentSafeNamingStrategy" />\r
-    </property>\r
-    <property name="annotatedPackages">\r
-      <list>\r
-        <value>eu.etaxonomy.cdm.model.common</value>\r
-      </list>\r
-    </property>\r
-    <property name="annotatedClasses">\r
-      <list>\r
-        <value>eu.etaxonomy.cdm.model.agent.Address</value>\r
-        <value>eu.etaxonomy.cdm.model.agent.Agent</value>\r
-        <value>eu.etaxonomy.cdm.model.agent.Contact</value>\r
-        <value>eu.etaxonomy.cdm.model.agent.Institution</value>\r
-        <value>eu.etaxonomy.cdm.model.agent.InstitutionalMembership</value>\r
-        <value>eu.etaxonomy.cdm.model.agent.InstitutionType</value>\r
-        <value>eu.etaxonomy.cdm.model.agent.Person</value>\r
-        <value>eu.etaxonomy.cdm.model.agent.Team</value>\r
-        <value>eu.etaxonomy.cdm.model.common.AnnotatableEntity</value>\r
-        <value>eu.etaxonomy.cdm.model.common.Annotation</value>\r
-        <value>eu.etaxonomy.cdm.model.common.AudioFile</value>\r
-        <value>eu.etaxonomy.cdm.model.common.CdmBase</value>\r
-        <value>eu.etaxonomy.cdm.model.common.DefinedTermBase</value>\r
-        <value>eu.etaxonomy.cdm.model.common.EventBase</value>\r
-        <value>eu.etaxonomy.cdm.model.common.Extension</value>\r
-        <value>eu.etaxonomy.cdm.model.common.ExtensionType</value>\r
-        <value>eu.etaxonomy.cdm.model.common.Figure</value>\r
-        <value>eu.etaxonomy.cdm.model.common.IdentifiableEntity</value>\r
-        <value>eu.etaxonomy.cdm.model.common.IEvent</value>\r
-        <value>eu.etaxonomy.cdm.model.common.ImageFile</value>\r
-        <value>eu.etaxonomy.cdm.model.common.IOriginalSource</value>\r
-        <value>eu.etaxonomy.cdm.model.common.IReferencedEntity</value>\r
-        <value>eu.etaxonomy.cdm.model.common.Keyword</value>\r
-        <value>eu.etaxonomy.cdm.model.common.Language</value>\r
-        <value>eu.etaxonomy.cdm.model.common.LanguageString</value>\r
-        <value>eu.etaxonomy.cdm.model.common.Marker</value>\r
-        <value>eu.etaxonomy.cdm.model.common.MarkerType</value>\r
-        <value>eu.etaxonomy.cdm.model.common.Media</value>\r
-        <value>eu.etaxonomy.cdm.model.common.MediaInstance</value>\r
-        <value>eu.etaxonomy.cdm.model.common.MovieFile</value>\r
-        <value>eu.etaxonomy.cdm.model.common.MultilanguageSet</value>\r
-        <value>eu.etaxonomy.cdm.model.common.NoDefinedTermClassException</value>\r
-        <value>eu.etaxonomy.cdm.model.common.OrderedTermBase</value>\r
-        <value>eu.etaxonomy.cdm.model.common.OriginalSource</value>\r
-        <value>eu.etaxonomy.cdm.model.common.ReferencedEntityBase</value>\r
-        <value>eu.etaxonomy.cdm.model.common.ReferencedMedia</value>\r
-        <value>eu.etaxonomy.cdm.model.common.RelationshipTermBase</value>\r
-        <value>eu.etaxonomy.cdm.model.common.Representation</value>\r
-        <value>eu.etaxonomy.cdm.model.common.Rights</value>\r
-        <value>eu.etaxonomy.cdm.model.common.RightsTerm</value>\r
-        <value>eu.etaxonomy.cdm.model.common.TermBase</value>\r
-        <value>eu.etaxonomy.cdm.model.common.TermVocabulary</value>\r
-        <value>eu.etaxonomy.cdm.model.common.TimePeriod</value>\r
-        <value>eu.etaxonomy.cdm.model.common.VersionableEntity</value>\r
-        <value>eu.etaxonomy.cdm.model.common.WrongTermTypeException</value>\r
-        <value>eu.etaxonomy.cdm.model.description.AbsenceTerm</value>\r
-        <value>eu.etaxonomy.cdm.model.description.CategoricalData</value>\r
-        <value>eu.etaxonomy.cdm.model.description.CharacterTree</value>\r
-        <value>eu.etaxonomy.cdm.model.description.CommonTaxonName</value>\r
-        <value>eu.etaxonomy.cdm.model.description.DescriptionBase</value>\r
-        <value>eu.etaxonomy.cdm.model.description.Distribution</value>\r
-        <value>eu.etaxonomy.cdm.model.description.FeatureBase</value>\r
-        <value>eu.etaxonomy.cdm.model.description.FeatureType</value>\r
-        <value>eu.etaxonomy.cdm.model.description.IdentificationKey</value>\r
-        <value>eu.etaxonomy.cdm.model.description.IndividualsAssociation</value>\r
-        <value>eu.etaxonomy.cdm.model.description.MeasurementUnit</value>\r
-        <value>eu.etaxonomy.cdm.model.description.Modifier</value>\r
-        <value>eu.etaxonomy.cdm.model.description.PresenceAbsenceTermBase</value>\r
-        <value>eu.etaxonomy.cdm.model.description.PresenceTerm</value>\r
-        <value>eu.etaxonomy.cdm.model.description.QuantitativeData</value>\r
-        <value>eu.etaxonomy.cdm.model.description.Scope</value>\r
-        <value>eu.etaxonomy.cdm.model.description.Sex</value>\r
-        <value>eu.etaxonomy.cdm.model.description.SpecimenDescription</value>\r
-        <value>eu.etaxonomy.cdm.model.description.Stage</value>\r
-        <value>eu.etaxonomy.cdm.model.description.State</value>\r
-        <value>eu.etaxonomy.cdm.model.description.StateData</value>\r
-        <value>eu.etaxonomy.cdm.model.description.StatisticalMeasure</value>\r
-        <value>eu.etaxonomy.cdm.model.description.StatisticalMeasurementValue</value>\r
-        <value>eu.etaxonomy.cdm.model.description.TaxonDescription</value>\r
-        <value>eu.etaxonomy.cdm.model.description.TaxonInteraction</value>\r
-        <value>eu.etaxonomy.cdm.model.description.TextData</value>\r
-        <value>eu.etaxonomy.cdm.model.description.TextFormat</value>\r
-        <value>eu.etaxonomy.cdm.model.location.Continent</value>\r
-        <value>eu.etaxonomy.cdm.model.location.NamedArea</value>\r
-        <value>eu.etaxonomy.cdm.model.location.NamedAreaLevel</value>\r
-        <value>eu.etaxonomy.cdm.model.location.NamedAreaType</value>\r
-        <value>eu.etaxonomy.cdm.model.location.Point</value>\r
-        <value>eu.etaxonomy.cdm.model.location.ReferenceSystem</value>\r
-        <value>eu.etaxonomy.cdm.model.location.WaterbodyOrCountry</value>\r
-        <value>eu.etaxonomy.cdm.model.molecular.DnaSample</value>\r
-        <value>eu.etaxonomy.cdm.model.molecular.GenBankAccession</value>\r
-        <value>eu.etaxonomy.cdm.model.molecular.Locus</value>\r
-        <value>eu.etaxonomy.cdm.model.molecular.PhylogeneticTree</value>\r
-        <value>eu.etaxonomy.cdm.model.molecular.Sequence</value>\r
-        <value>eu.etaxonomy.cdm.model.name.BacterialName</value>\r
-        <value>eu.etaxonomy.cdm.model.name.BotanicalName</value>\r
-        <value>eu.etaxonomy.cdm.model.name.CultivarPlantName</value>\r
-        <value>eu.etaxonomy.cdm.model.name.HybridRelationship</value>\r
-        <value>eu.etaxonomy.cdm.model.name.HybridRelationshipType</value>\r
-        <value>eu.etaxonomy.cdm.model.name.NameRelationship</value>\r
-        <value>eu.etaxonomy.cdm.model.name.NameRelationshipType</value>\r
-        <value>eu.etaxonomy.cdm.model.name.NameTypeDesignation</value>\r
-        <value>eu.etaxonomy.cdm.model.name.NomenclaturalStatus</value>\r
-        <value>eu.etaxonomy.cdm.model.name.NomenclaturalStatusType</value>\r
-        <value>eu.etaxonomy.cdm.model.name.NonViralName</value>\r
-        <value>eu.etaxonomy.cdm.model.name.Rank</value>\r
-        <value>eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation</value>\r
-        <value>eu.etaxonomy.cdm.model.name.TaxonNameBase</value>\r
-        <value>eu.etaxonomy.cdm.model.name.TypeDesignationBase</value>\r
-        <value>eu.etaxonomy.cdm.model.name.TypeDesignationStatus</value>\r
-        <value>eu.etaxonomy.cdm.model.name.ViralName</value>\r
-        <value>eu.etaxonomy.cdm.model.name.ZoologicalName</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.Collection</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.DerivationEvent</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.DerivationEventType</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.Determination</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.DeterminationModifier</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.FieldObservation</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.Fossil</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.LivingBeing</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.PhysicalOrganism</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.PreservationMethod</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.Specimen</value>\r
-        <value>eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Article</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.BibtexEntryType</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.BibtexReference</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Book</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.BookSection</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.CdDvd</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.ConferenceProceedings</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Database</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Generic</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.INomenclaturalReference</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.InProceedings</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Journal</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Map</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Patent</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.PersonalCommunication</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.PrintedUnitBase</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.PrintSeries</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Proceedings</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.PublicationBase</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.ReferenceBase</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Report</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.SectionBase</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.StrictReferenceBase</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.Thesis</value>\r
-        <value>eu.etaxonomy.cdm.model.reference.WebPage</value>\r
-        <value>eu.etaxonomy.cdm.model.taxon.ConceptRelationshipType</value>\r
-        <value>eu.etaxonomy.cdm.model.taxon.Synonym</value>\r
-        <value>eu.etaxonomy.cdm.model.taxon.SynonymRelationship</value>\r
-        <value>eu.etaxonomy.cdm.model.taxon.SynonymRelationshipType</value>\r
-        <value>eu.etaxonomy.cdm.model.taxon.Taxon</value>\r
-        <value>eu.etaxonomy.cdm.model.taxon.TaxonBase</value>\r
-        <value>eu.etaxonomy.cdm.model.taxon.TaxonRelationship</value>\r
-        <value>eu.etaxonomy.cdm.model.view.View</value>\r
-      </list>\r
-    </property>\r
-    <property name="hibernateProperties">\r
-      <props>\r
-        <prop key="hibernate.hbm2ddl.auto">created</prop>\r
-        <prop key="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</prop>\r
-        <prop key="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</prop>\r
-        <prop key="hibernate.show_sql">true</prop>\r
-        <prop key="hibernate.format_sql">false</prop>\r
-      </props>\r
-    </property>\r
-  </bean>\r
-</beans>\r
-\r
diff --git a/libraryTesterApplication/lib/antlr-2.7.6.jar b/libraryTesterApplication/lib/antlr-2.7.6.jar
deleted file mode 100644 (file)
index 3702b64..0000000
Binary files a/libraryTesterApplication/lib/antlr-2.7.6.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/aopalliance-1.0.jar b/libraryTesterApplication/lib/aopalliance-1.0.jar
deleted file mode 100644 (file)
index 578b1a0..0000000
Binary files a/libraryTesterApplication/lib/aopalliance-1.0.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/asm-attrs.jar b/libraryTesterApplication/lib/asm-attrs.jar
deleted file mode 100644 (file)
index f07bcb2..0000000
Binary files a/libraryTesterApplication/lib/asm-attrs.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/asm.jar b/libraryTesterApplication/lib/asm.jar
deleted file mode 100644 (file)
index ee0c7cc..0000000
Binary files a/libraryTesterApplication/lib/asm.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/aspectjrt-1.5.2a.jar b/libraryTesterApplication/lib/aspectjrt-1.5.2a.jar
deleted file mode 100644 (file)
index 4077a47..0000000
Binary files a/libraryTesterApplication/lib/aspectjrt-1.5.2a.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/cglib-2.1.3.jar b/libraryTesterApplication/lib/cglib-2.1.3.jar
deleted file mode 100644 (file)
index ddfbdb0..0000000
Binary files a/libraryTesterApplication/lib/cglib-2.1.3.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/commons-collections-2.1.1.jar b/libraryTesterApplication/lib/commons-collections-2.1.1.jar
deleted file mode 100644 (file)
index 3272f2b..0000000
Binary files a/libraryTesterApplication/lib/commons-collections-2.1.1.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/commons-logging-1.0.4.jar b/libraryTesterApplication/lib/commons-logging-1.0.4.jar
deleted file mode 100644 (file)
index b73a80f..0000000
Binary files a/libraryTesterApplication/lib/commons-logging-1.0.4.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/dom4j-1.6.1.jar b/libraryTesterApplication/lib/dom4j-1.6.1.jar
deleted file mode 100644 (file)
index c8c4dbb..0000000
Binary files a/libraryTesterApplication/lib/dom4j-1.6.1.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/ehcache-1.2.3.jar b/libraryTesterApplication/lib/ehcache-1.2.3.jar
deleted file mode 100644 (file)
index 86415b3..0000000
Binary files a/libraryTesterApplication/lib/ehcache-1.2.3.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/ejb3-persistence.jar b/libraryTesterApplication/lib/ejb3-persistence.jar
deleted file mode 100644 (file)
index 3a896db..0000000
Binary files a/libraryTesterApplication/lib/ejb3-persistence.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/hibernate-annotations.jar b/libraryTesterApplication/lib/hibernate-annotations.jar
deleted file mode 100644 (file)
index 4f9e622..0000000
Binary files a/libraryTesterApplication/lib/hibernate-annotations.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/hibernate-commons-annotations.jar b/libraryTesterApplication/lib/hibernate-commons-annotations.jar
deleted file mode 100644 (file)
index 8284aa2..0000000
Binary files a/libraryTesterApplication/lib/hibernate-commons-annotations.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/hibernate-validator.jar b/libraryTesterApplication/lib/hibernate-validator.jar
deleted file mode 100644 (file)
index c27183c..0000000
Binary files a/libraryTesterApplication/lib/hibernate-validator.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/hibernate3.jar b/libraryTesterApplication/lib/hibernate3.jar
deleted file mode 100644 (file)
index 1020b87..0000000
Binary files a/libraryTesterApplication/lib/hibernate3.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/hsqldb.jar b/libraryTesterApplication/lib/hsqldb.jar
deleted file mode 100644 (file)
index dc3055e..0000000
Binary files a/libraryTesterApplication/lib/hsqldb.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/javassist.jar b/libraryTesterApplication/lib/javassist.jar
deleted file mode 100644 (file)
index a6bde77..0000000
Binary files a/libraryTesterApplication/lib/javassist.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/jaxb-api.jar b/libraryTesterApplication/lib/jaxb-api.jar
deleted file mode 100644 (file)
index 3543583..0000000
Binary files a/libraryTesterApplication/lib/jaxb-api.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/jaxb-impl-2.0-sources.jar b/libraryTesterApplication/lib/jaxb-impl-2.0-sources.jar
deleted file mode 100644 (file)
index fb65ed9..0000000
Binary files a/libraryTesterApplication/lib/jaxb-impl-2.0-sources.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/jaxb-impl-2.0.jar b/libraryTesterApplication/lib/jaxb-impl-2.0.jar
deleted file mode 100644 (file)
index 428119e..0000000
Binary files a/libraryTesterApplication/lib/jaxb-impl-2.0.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/jdbc2_0-stdext.jar b/libraryTesterApplication/lib/jdbc2_0-stdext.jar
deleted file mode 100644 (file)
index ddafa13..0000000
Binary files a/libraryTesterApplication/lib/jdbc2_0-stdext.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/jdom-1.0.jar b/libraryTesterApplication/lib/jdom-1.0.jar
deleted file mode 100644 (file)
index 288e64c..0000000
Binary files a/libraryTesterApplication/lib/jdom-1.0.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/jta.jar b/libraryTesterApplication/lib/jta.jar
deleted file mode 100644 (file)
index e0822a9..0000000
Binary files a/libraryTesterApplication/lib/jta.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/jtds-1.2.2.jar b/libraryTesterApplication/lib/jtds-1.2.2.jar
deleted file mode 100644 (file)
index d0d8c95..0000000
Binary files a/libraryTesterApplication/lib/jtds-1.2.2.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/junit-4.4.jar b/libraryTesterApplication/lib/junit-4.4.jar
deleted file mode 100644 (file)
index 649b0b3..0000000
Binary files a/libraryTesterApplication/lib/junit-4.4.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/log4j-1.2.14.jar b/libraryTesterApplication/lib/log4j-1.2.14.jar
deleted file mode 100644 (file)
index 6251307..0000000
Binary files a/libraryTesterApplication/lib/log4j-1.2.14.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/msbase-2000.3.jar b/libraryTesterApplication/lib/msbase-2000.3.jar
deleted file mode 100644 (file)
index 7d5f83e..0000000
Binary files a/libraryTesterApplication/lib/msbase-2000.3.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/mssqlserver-2000.3.jar b/libraryTesterApplication/lib/mssqlserver-2000.3.jar
deleted file mode 100644 (file)
index b14b1e2..0000000
Binary files a/libraryTesterApplication/lib/mssqlserver-2000.3.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/msutil-2000.3.jar b/libraryTesterApplication/lib/msutil-2000.3.jar
deleted file mode 100644 (file)
index 34c6ef1..0000000
Binary files a/libraryTesterApplication/lib/msutil-2000.3.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/mysql-connector-java-3.1.14-bin.jar b/libraryTesterApplication/lib/mysql-connector-java-3.1.14-bin.jar
deleted file mode 100644 (file)
index cd27e23..0000000
Binary files a/libraryTesterApplication/lib/mysql-connector-java-3.1.14-bin.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/opencsv-1.8.jar b/libraryTesterApplication/lib/opencsv-1.8.jar
deleted file mode 100644 (file)
index cc8200b..0000000
Binary files a/libraryTesterApplication/lib/opencsv-1.8.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/postgresql-8.2-504.jdbc4.jar b/libraryTesterApplication/lib/postgresql-8.2-504.jdbc4.jar
deleted file mode 100644 (file)
index f69e364..0000000
Binary files a/libraryTesterApplication/lib/postgresql-8.2-504.jdbc4.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/spring-2.5.jar b/libraryTesterApplication/lib/spring-2.5.jar
deleted file mode 100644 (file)
index 3502ca1..0000000
Binary files a/libraryTesterApplication/lib/spring-2.5.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/spring-beans-2.5.jar b/libraryTesterApplication/lib/spring-beans-2.5.jar
deleted file mode 100644 (file)
index 4d6a4bf..0000000
Binary files a/libraryTesterApplication/lib/spring-beans-2.5.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/spring-context-2.5.jar b/libraryTesterApplication/lib/spring-context-2.5.jar
deleted file mode 100644 (file)
index c36919e..0000000
Binary files a/libraryTesterApplication/lib/spring-context-2.5.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/spring-core-2.5.jar b/libraryTesterApplication/lib/spring-core-2.5.jar
deleted file mode 100644 (file)
index 7347707..0000000
Binary files a/libraryTesterApplication/lib/spring-core-2.5.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/spring-jdbc-2.5.jar b/libraryTesterApplication/lib/spring-jdbc-2.5.jar
deleted file mode 100644 (file)
index f1fd01f..0000000
Binary files a/libraryTesterApplication/lib/spring-jdbc-2.5.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/spring-orm-2.5.jar b/libraryTesterApplication/lib/spring-orm-2.5.jar
deleted file mode 100644 (file)
index 68f2b32..0000000
Binary files a/libraryTesterApplication/lib/spring-orm-2.5.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/spring-test-2.5.jar b/libraryTesterApplication/lib/spring-test-2.5.jar
deleted file mode 100644 (file)
index 81454a6..0000000
Binary files a/libraryTesterApplication/lib/spring-test-2.5.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/spring-tx-2.5.jar b/libraryTesterApplication/lib/spring-tx-2.5.jar
deleted file mode 100644 (file)
index d1c4490..0000000
Binary files a/libraryTesterApplication/lib/spring-tx-2.5.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/xercesImpl.jar b/libraryTesterApplication/lib/xercesImpl.jar
deleted file mode 100644 (file)
index e0a4c2e..0000000
Binary files a/libraryTesterApplication/lib/xercesImpl.jar and /dev/null differ
diff --git a/libraryTesterApplication/lib/xml-apis.jar b/libraryTesterApplication/lib/xml-apis.jar
deleted file mode 100644 (file)
index 6ba4ff8..0000000
Binary files a/libraryTesterApplication/lib/xml-apis.jar and /dev/null differ
diff --git a/libraryTesterApplication/src/CdmDestinations.java b/libraryTesterApplication/src/CdmDestinations.java
deleted file mode 100644 (file)
index 3af3466..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-\r
-\r
-import org.apache.log4j.Logger;\r
-\r
-import eu.etaxonomy.cdm.common.CdmUtils;\r
-import eu.etaxonomy.cdm.database.CdmDataSource;\r
-import eu.etaxonomy.cdm.database.DatabaseTypeEnum;\r
-import eu.etaxonomy.cdm.database.ICdmDataSource;\r
-\r
-public class CdmDestinations {\r
-       private static Logger logger = Logger.getLogger(CdmDestinations.class);\r
-       \r
-       public static ICdmDataSource cdm_1_1(){\r
-               DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;\r
-               String cdmServer = "192.168.2.10";\r
-               String cdmDB = "cdm_1_1"; // values: "cdm_1_1"  "cdm_build"\r
-               String cdmUserName = "edit";\r
-               return makeDestination(cdmServer, cdmDB, -1, cdmUserName, null);\r
-       }\r
-       \r
-       \r
-       public static ICdmDataSource cdm_build(){\r
-               DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;\r
-               String cdmServer = "192.168.2.10";\r
-               String cdmDB = "cdm_build"; // values: "cdm_1_1"  "cdm_build"\r
-               String cdmUserName = "edit";\r
-               return makeDestination(cdmServer, cdmDB, -1, cdmUserName, null);\r
-       }\r
-\r
-       \r
-       public static ICdmDataSource cdm_test(){\r
-               DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;\r
-               String cdmServer = "192.168.2.10";\r
-               String cdmDB = "cdm_test"; // values: "cdm_1_1"  "cdm_build"\r
-               String cdmUserName = "edit";\r
-               return makeDestination(cdmServer, cdmDB, -1, cdmUserName, null);\r
-       }\r
-       \r
-       \r
-       public static ICdmDataSource cdm_test_andreasM(){\r
-               DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;\r
-               String cdmServer = "192.168.2.10";\r
-               String cdmDB = "cdm_test_andreasM"; \r
-               String cdmUserName = "edit";\r
-               return makeDestination(cdmServer, cdmDB, -1, cdmUserName, null);\r
-       }\r
-       \r
-       \r
-       public static ICdmDataSource cdm_editor2(){\r
-               DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;\r
-               String cdmServer = "192.168.2.10";\r
-               String cdmDB = "cdm_editor_test2"; \r
-               String cdmUserName = "edit";\r
-               return makeDestination(cdmServer, cdmDB, -1, cdmUserName, null);\r
-       }\r
-       \r
-       public static ICdmDataSource cdm_edit_cichorieae(){\r
-               DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;\r
-               String cdmServer = "192.168.2.10";\r
-               String cdmDB = "cdm_edit_cichorieae"; \r
-               String cdmUserName = "edit";\r
-               return makeDestination(cdmServer, cdmDB, -1, cdmUserName, null);\r
-       }\r
-       \r
-       public static ICdmDataSource cdm_edit_diptera(){\r
-               DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;\r
-               String cdmServer = "192.168.2.10";\r
-               String cdmDB = "cdm_edit_diptera"; \r
-               String cdmUserName = "edit";\r
-               return makeDestination(cdmServer, cdmDB, -1, cdmUserName, null);\r
-       }\r
-               \r
-       public static ICdmDataSource cdm_edit_palmae(){\r
-               DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;\r
-               String cdmServer = "192.168.2.10";\r
-               String cdmDB = "cdm_edit_palmae"; \r
-               String cdmUserName = "edit";\r
-               return makeDestination(cdmServer, cdmDB, -1, cdmUserName, null);\r
-       }\r
-       \r
-       \r
-//     public static ICdmDataSource LAPTOP_HP(){\r
-//             DatabaseTypeEnum dbType = DatabaseTypeEnum.SqlServer2005;\r
-//             String cdmServer = "LAPTOPHP";\r
-//             String cdmDB = "cdmTest"; \r
-//             String cdmUserName = "edit";\r
-//             return makeDestination(cdmServer, cdmDB, -1, cdmUserName, null);\r
-//     }\r
-       \r
-       \r
-       /**\r
-        * initializes source\r
-        * @return true, if connection establisehd\r
-        */\r
-       private static ICdmDataSource makeDestination(String cdmServer, String cdmDB, int port, String cdmUserName, String pwd ){\r
-               //establish connection\r
-               try {\r
-                       if (pwd == null){\r
-                               pwd = CdmUtils.readInputLine("Please insert password for " + CdmUtils.Nz(cdmUserName) + ": ");\r
-                       }\r
-                       //TODO not MySQL\r
-                       ICdmDataSource destination = CdmDataSource.NewMySqlInstance(cdmServer, cdmDB, port, cdmUserName, pwd);\r
-                       return destination;\r
-               } catch (Exception e) {\r
-                       logger.error(e);\r
-                       return null;\r
-               }\r
-       }\r
-\r
-}\r
diff --git a/libraryTesterApplication/src/Profiling.java b/libraryTesterApplication/src/Profiling.java
deleted file mode 100644 (file)
index a3fc5ac..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-\r
-import java.util.List;\r
-import java.util.UUID;\r
-\r
-import org.apache.log4j.Logger;\r
-\r
-import eu.etaxonomy.cdm.api.application.CdmApplicationController;\r
-import eu.etaxonomy.cdm.database.DbSchemaValidation;\r
-import eu.etaxonomy.cdm.database.ICdmDataSource;\r
-import eu.etaxonomy.cdm.model.reference.ReferenceBase;\r
-import eu.etaxonomy.cdm.model.taxon.Taxon;\r
-\r
-/**\r
- * @author a.mueller\r
- * @created 03.06.2008\r
- * @version 1.0\r
- */\r
-public class Profiling {\r
-       private static final Logger logger = Logger.getLogger(Profiling.class);\r
-       \r
-       private void testGetRoot(){\r
-               System.out.println("testGetRoot started ...");\r
-               ICdmDataSource cdmDestination = CdmDestinations.cdm_edit_cichorieae();\r
-               DbSchemaValidation val = DbSchemaValidation.VALIDATE;\r
-               try {\r
-                       CdmApplicationController app = CdmApplicationController.NewInstance(cdmDestination, val);\r
-                       System.out.println("app initialized ...");\r
-                       String secUuid = "cd31b368-7c5c-47ac-ba51-647205f1450d";\r
-                       ReferenceBase sec = app.getReferenceService().getReferenceByUuid(UUID.fromString(secUuid));\r
-                       List<Taxon> roots = app.getTaxonService().getRootTaxa(sec, null, true);\r
-                       for (Taxon taxon: roots){\r
-                               System.out.println("Taxon: " + taxon.getUuid() + ", " + taxon.getTitleCache());\r
-                       }\r
-               } catch (Exception e) {\r
-                       e.printStackTrace();\r
-               }\r
-               System.out.println("testGetRoot ended ...");\r
-       }\r
-       \r
-       \r
-       /**\r
-        * @param args\r
-        */\r
-       public static void main(String[] args) {\r
-               Profiling me = new Profiling();\r
-               me.testGetRoot();\r
-       }\r
-}\r
diff --git a/libraryTesterApplication/src/testJar/TestJarMain.java b/libraryTesterApplication/src/testJar/TestJarMain.java
deleted file mode 100644 (file)
index 0464fb1..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-package testJar;\r
-\r
-//import eu.etaxonomy.cdm.api.application.CdmApplicationController;\r
-//import eu.etaxonomy.cdm.api.service.*;\r
-import java.io.File;\r
-import java.io.InputStream;\r
-\r
-import eu.etaxonomy.cdm.api.application.CdmApplicationController;\r
-import eu.etaxonomy.cdm.api.service.INameService;\r
-import eu.etaxonomy.cdm.common.CdmUtils;\r
-import eu.etaxonomy.cdm.common.XmlHelp;\r
-import eu.etaxonomy.cdm.database.CdmDataSource;\r
-import eu.etaxonomy.cdm.database.CdmPersistentDataSource;\r
-import eu.etaxonomy.cdm.database.DbSchemaValidation;\r
-import eu.etaxonomy.cdm.model.name.*;\r
-\r
-\r
-import org.apache.log4j.Level;\r
-import org.apache.log4j.Logger;\r
-import org.jdom.Element;\r
-\r
-\r
-\r
-public class TestJarMain {\r
-       static Logger logger = Logger.getLogger(TestJarMain.class);\r
-               \r
-       /**\r
-        * @param args\r
-        */\r
-       public static void main(String[] args) {\r
-//             TestAspect ta = new TestAspect();\r
-//             ta.testAppController();\r
-               test();\r
-               testDirectory();\r
-       }\r
-       \r
-       private static void testDirectory(){\r
-               System.out.println("Start testDirectory ...");\r
-               InputStream is2;\r
-               File f = new File("C:/Dokumente und Einstellungen/a.mueller/.cdmLibrary/writableResources/applicationContext.xml");\r
-               System.out.println(f.exists());\r
-               \r
-               try {\r
-                       String strFile = "terms/Language.csv";\r
-                       logger.info(CdmUtils.getReadableResourceStream(strFile));\r
-                       //test directory\r
-                       is2 = CdmUtils.getReadableResourceStream("eu/etaxonomy/cdm/" + CdmPersistentDataSource.DATASOURCE_FILE_NAME);\r
-                       Element el = XmlHelp.getRoot(is2);\r
-                       System.out.println(el);\r
-                       \r
-                       //CdmDataSource dataSource = CdmDataSource.NewInstance("testPostgre");\r
-                       CdmApplicationController app = CdmApplicationController.NewInstance(DbSchemaValidation.CREATE);\r
-                       INameService nameService = app.getNameService();\r
-                       logger.info(nameService);\r
-                       app.close();\r
-               } catch (Exception e) {\r
-                       logger.error("Exception: " + e.getMessage());\r
-               }\r
-               System.out.println("End testDirectory ...");\r
-       }\r
-\r
-       private static void test(){\r
-               NonViralName tn;\r
-               System.out.println("Start Test ...");\r
-               Logger.getRootLogger().setLevel(Level.WARN);\r
-               //INameService ns = new CdmApplicationController().getNameService();\r
-               //tn = (TaxonName)ns.getAllNames().get(0);\r
-               tn = NonViralName.NewInstance(null);\r
-               logger.setLevel(Level.DEBUG);\r
-               System.out.println("****************");\r
-               tn.setGenusOrUninomial("TestUninomialName");\r
-               logger.info(tn.getGenusOrUninomial());\r
-               if (tn != null){\r
-                       logger.info("Uuid for TaxonName(1): " + tn.getUuid());\r
-               }else{\r
-                       logger.warn("No name with id = 1");\r
-               }\r
-               System.out.println("End Test (successful");\r
-       }\r
-\r
-}\r
diff --git a/musiclib-hibernatetest/listAnnotatedClasses.py b/musiclib-hibernatetest/listAnnotatedClasses.py
deleted file mode 100644 (file)
index b836d24..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/python
-import os, sys
-
-modelDir="src/main/java/org/bgbm/model"
-modelPackage="org.bgbm.model"
-
-print"<list>"
-for path,dirs,files in os.walk(modelDir):
-    if path <> modelDir:
-        package = "%s.%s"%(modelPackage, path[len(modelDir)+1:])
-    else:
-        package = modelPackage
-    for f in files: 
-        if f.endswith(".java") and f <> "package-info.java":
-            print "<value>%s.%s</value>" %(package, f[:-5])
-print"</list>"
-
diff --git a/musiclib-hibernatetest/pom.xml b/musiclib-hibernatetest/pom.xml
deleted file mode 100644 (file)
index a90631a..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" 
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
-    >
-  <parent>\r
-               <groupId>eu.etaxonomy</groupId>\r
-               <artifactId>cdmlib-parent</artifactId>\r
-               <version>1.1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>musiclib</artifactId>\r
-  <name>Markus Music Test</name>\r
-  <version>0.1.0</version>\r
-  <description>EDIT cdm library</description>\r
-  <scm>\r
-    <connection>scm:svn:http://ww2.biocase.org/svn/edit/trunk/cdmlib/musiclib/</connection>\r
-    <developerConnection>scm:svn:https://ww2.biocase.org/svn/edit/trunk/cdmlib/musiclib/</developerConnection>\r
-    <url>http://ww2.biocase.org/svn/edit/trunk/cdmlib/musiclib/</url>\r
-  </scm>\r
-  <build>\r
-    <plugins>\r
-      <plugin>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-      <plugin>\r
-        <artifactId>maven-surefire-plugin</artifactId>\r
-        <configuration>\r
-          <includes>\r
-            <include>**/*Test.java</include>\r
-          </includes>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-  <dependencies>
-    <dependency>
-      <groupId>javax.persistence</groupId>
-      <artifactId>ejb</artifactId>
-      <version>3</version>
-    </dependency>
-    <dependency>
-      <groupId>javax.xml</groupId>
-      <artifactId>jaxrpc-api</artifactId>
-      <version>1.1</version>
-    </dependency>
-    <dependency>
-      <groupId>javax.xml.bind</groupId>
-      <artifactId>jaxb-api</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-      <version>5.0.5</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-commons-annotations</artifactId>
-      <version>3.3.0.ga</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-annotations</artifactId>
-      <version>3.3.0.ga</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate</artifactId>
-      <version>3.2.5.ga</version>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring</artifactId>
-      <version>2.5</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-beans</artifactId>
-      <version>2.5</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-orm</artifactId>
-      <version>2.5</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-jdbc</artifactId>
-      <version>2.5</version>
-    </dependency>    
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-test</artifactId>
-      <version>2.5</version>
-    </dependency>
-  </dependencies>\r
-</project>\r
-\r
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/model/Annotatable.java b/musiclib-hibernatetest/src/main/java/org/bgbm/model/Annotatable.java
deleted file mode 100644 (file)
index c9f5e08..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-package org.bgbm.model;
-
-import java.util.Calendar;
-import java.util.HashSet;
-import java.util.Set;
-import java.util.UUID;
-
-import javax.persistence.Entity;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Inheritance;
-import javax.persistence.InheritanceType;
-import javax.persistence.MappedSuperclass;
-import javax.persistence.OneToMany;
-import javax.persistence.Table;
-import javax.persistence.Temporal;
-import javax.persistence.TemporalType;
-
-import org.apache.log4j.Logger;
-import org.hibernate.annotations.Cascade;
-
-@MappedSuperclass
-public abstract class Annotatable extends EntityBase{
-       static Logger logger = Logger.getLogger(Annotatable.class);
-
-       private String uuid;
-       private Set<Annotation> annotations = new HashSet();
-       
-       public Annotatable() {
-               this.uuid = UUID.randomUUID().toString();
-       }
-
-       @OneToMany
-       @Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE,
-        org.hibernate.annotations.CascadeType.DELETE_ORPHAN})
-    public Set<Annotation> getAnnotations() {
-               return annotations;
-       }
-       private void setAnnotations(Set<Annotation> annotations) {
-               this.annotations = annotations;
-       }
-       public void addAnnotation(Annotation annotation) {
-               this.annotations.add(annotation);
-       }
-       public void addAnnotation(String text) {
-               this.annotations.add(new Annotation(text));
-       }
-       public void removeAnnotation(Annotation annotation) {
-               this.annotations.remove(annotation);
-       }
-
-       public String getUuid(){
-               return this.uuid;
-       }
-       private void setUuid(String uuid){
-               this.uuid = uuid;
-       }
-
-}
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/model/Annotation.java b/musiclib-hibernatetest/src/main/java/org/bgbm/model/Annotation.java
deleted file mode 100644 (file)
index 984dafd..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
-* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy 
-* http://www.e-taxonomy.eu
-* 
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-
-package org.bgbm.model;
-
-
-import org.apache.log4j.Logger;
-import java.util.*;
-import javax.persistence.*;
-
-/**
- * @author m.doering
- * @version 1.0
- * @created 08-Nov-2007 13:06:10
- */
-@Entity
-public class Annotation extends EntityBase{
-       public Annotation() {
-               super();
-       }
-       static Logger logger = Logger.getLogger(Annotation.class);
-       //Human annotation
-       private String commentator;
-       private String note;
-
-       public Annotation(String text) {
-               super();
-               note=text;
-       }
-       public String getNote() {
-               return note;
-       }
-       public void setNote(String note) {
-               this.note = note;
-       }
-       
-
-       public String getCommentator(){
-               return this.commentator;
-       }
-       public void setCommentator(String commentator){
-               this.commentator = commentator;
-       }
-       
-       
-       public String toString(){
-               String n = "";
-               if (note!=null){
-                       n = note; 
-               }
-               return "<"+n+">";
-       }
-}
\ No newline at end of file
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/model/Band.java b/musiclib-hibernatetest/src/main/java/org/bgbm/model/Band.java
deleted file mode 100644 (file)
index 6c61db8..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-package org.bgbm.model;
-
-import java.util.HashSet;
-import java.util.Set;
-
-import javax.persistence.CascadeType;
-import javax.persistence.Entity;
-import javax.persistence.ManyToMany;
-import javax.persistence.ManyToOne;
-import javax.persistence.OneToMany;
-
-import org.apache.log4j.Logger;
-import org.hibernate.annotations.Cascade;
-
-@Entity
-public class Band extends Annotatable {
-       public Band() {
-               super();
-               // TODO Auto-generated constructor stub
-       }
-       static Logger logger = Logger.getLogger(Band.class);
-
-       private String name;
-       //private Set<Record> records = new HashSet();
-
-       
-       public Band(String title) {
-               name=title;
-       }
-
-       public String getName() {
-               if (name!=null){                        
-                       return name;
-               }else{
-                       return "";
-               }
-       }
-
-       public void setName(String name) {
-               this.name = name;
-       }
-
-       public String toString(){
-               return getName();
-       }
-}
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/model/EntityBase.java b/musiclib-hibernatetest/src/main/java/org/bgbm/model/EntityBase.java
deleted file mode 100644 (file)
index efa5631..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.bgbm.model;
-
-import java.util.Calendar;
-
-import javax.persistence.Entity;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Inheritance;
-import javax.persistence.InheritanceType;
-import javax.persistence.MappedSuperclass;
-import javax.persistence.Temporal;
-import javax.persistence.TemporalType;
-
-@MappedSuperclass
-public abstract class EntityBase {
-       private Calendar created;
-       private int id;
-
-       public EntityBase() {
-               this.created = Calendar.getInstance();
-       }
-
-       @Temporal(TemporalType.TIMESTAMP)
-       public Calendar getCreated() {
-               return created;
-       }
-
-       public void setCreated(Calendar created) {
-               this.created = created;
-       }
-       @Id
-       @GeneratedValue(generator = "system-increment")
-       public int getId() {
-               return this.id;
-       }
-       public void setId(int id) {
-               this.id = id;
-       }
-}
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/model/Label.java b/musiclib-hibernatetest/src/main/java/org/bgbm/model/Label.java
deleted file mode 100644 (file)
index a08951a..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-package org.bgbm.model;
-
-import java.util.HashSet;
-import java.util.Set;
-
-import javax.persistence.CascadeType;
-import javax.persistence.Entity;
-import javax.persistence.ManyToOne;
-import javax.persistence.OneToMany;
-
-import org.apache.log4j.Logger;
-
-@Entity
-public class Label extends Annotatable {
-       public Label() {
-               super();
-               // TODO Auto-generated constructor stub
-       }
-
-       static Logger logger = Logger.getLogger(Label.class);
-
-       private String name;
-       private Set<Record> records = new HashSet();
-
-       public Label(String string) {
-               this.name=string;
-       }
-
-       public String getName() {
-               if (name!=null){                        
-                       return name;
-               }else{
-                       return "";
-               }
-       }
-
-       public void setName(String name) {
-               this.name = name;
-       }
-
-       @OneToMany(mappedBy="label", cascade={CascadeType.PERSIST, CascadeType.MERGE})
-       public Set<Record> getRecords() {
-               return records;
-       }
-
-       public void setRecords(Set<Record> records) {
-               this.records = records;
-       }
-       
-}
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/model/Record.java b/musiclib-hibernatetest/src/main/java/org/bgbm/model/Record.java
deleted file mode 100644 (file)
index 98f85a1..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-package org.bgbm.model;
-
-import java.util.*;
-
-import javax.persistence.CascadeType;
-import javax.persistence.Entity;
-import javax.persistence.ManyToOne;
-import javax.persistence.OneToMany;
-
-import org.apache.log4j.Logger;
-import org.hibernate.annotations.Cascade;
-
-@Entity
-public class Record extends Annotatable {
-       public Record() {
-               super();
-       }
-
-       static Logger logger = Logger.getLogger(Record.class);
-
-       private List<Track> tracks = new ArrayList();
-       private String title;
-       private Calendar publicationDate;
-       private Label label;
-       
-       public Record(String title, Calendar publicationDate, Label label) {
-               super();
-               this.title = title;
-               this.publicationDate = publicationDate;
-               this.label = label;
-       }
-
-       
-       @OneToMany(mappedBy="record")
-       @Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE,
-          org.hibernate.annotations.CascadeType.DELETE_ORPHAN})
-       public List<Track> getTracks() {
-               return tracks;
-       }
-       protected void setTracks(List<Track> tracks) {
-               this.tracks = tracks;
-       }
-       public void addTrack(String title, Band artist, double d){
-               Track track=new Track(title,artist,d);
-               track.setRecord(this);
-               this.tracks.add(track);
-       }
-       public String getTitle() {
-               if (title!=null){                       
-                       return title;
-               }else{
-                       return "";
-               }
-       }
-       public void setTitle(String title) {
-               this.title = title;
-       }
-       public Calendar getPublicationDate() {
-               return publicationDate;
-       }
-       public void setPublicationDate(Calendar publicationDate) {
-               this.publicationDate = publicationDate;
-       }
-       
-       @ManyToOne() // cascade={CascadeType.PERSIST, CascadeType.MERGE}
-       @Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE,
-          org.hibernate.annotations.CascadeType.DELETE_ORPHAN})
-       public Label getLabel() {
-               return label;
-       }
-       public void setLabel(Label label) {
-               this.label = label;
-       }
-       
-       public String toString (){
-               Integer annos = this.getAnnotations().size();
-               Integer songs = this.getTracks().size();
-               String result = "RECORD:"+this.getTitle()+" ("+label.getName()+") <#"+annos+"> Songs #"+songs+": ";
-               for (Track t : tracks){
-                       result += t.toString()+" ";
-               }
-               return result;
-       }
-}
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/model/Track.java b/musiclib-hibernatetest/src/main/java/org/bgbm/model/Track.java
deleted file mode 100644 (file)
index ea9547d..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-package org.bgbm.model;
-
-import javax.persistence.CascadeType;
-import javax.persistence.Entity;
-import javax.persistence.Inheritance;
-import javax.persistence.InheritanceType;
-import javax.persistence.ManyToOne;
-
-import org.apache.log4j.Logger;
-import org.hibernate.annotations.Cascade;
-
-@Entity
-public class Track extends Annotatable {
-       public Track() {
-               super();
-               // TODO Auto-generated constructor stub
-       }
-       static Logger logger = Logger.getLogger(Track.class);
-       private String name;
-       private double duration;
-       private Record record;
-       private Band artist;
-       
-       public Track(String title, Band artist2, double duration) {
-               this.name=title;
-               this.artist=artist2;
-               this.duration=duration;
-       }
-       
-       
-       public String getName() {
-               if (name!=null){                        
-                       return name;
-               }else{
-                       return "";
-               }
-       }
-       public void setName(String name) {
-               this.name = name;
-       }
-       public double getDuration() {
-               return duration;
-       }
-       public void setDuration(double duration) {
-               this.duration = duration;
-       }
-       
-       @ManyToOne
-       public Record getRecord() {
-               return record;
-       }
-       public void setRecord(Record record) {
-               this.record = record;
-       }
-       @ManyToOne
-       @Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE,
-        org.hibernate.annotations.CascadeType.DELETE_ORPHAN})
-       public Band getArtist() {
-               return artist;
-       }
-       public void setArtist(Band artist) {
-               this.artist = artist;
-       }
-       public String toString(){
-               String art = "";
-               if (artist!=null){
-                       art = artist.toString(); 
-               }
-               return getName()+"("+art+")";
-       }
-}
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/model/package-info.java b/musiclib-hibernatetest/src/main/java/org/bgbm/model/package-info.java
deleted file mode 100644 (file)
index 436b888..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/* Package Annotations*/\r
-\r
-@GenericGenerator(\r
-               name="system-increment", \r
-               strategy = "increment"\r
-)\r
-package org.bgbm.model;\r
-\r
-import org.hibernate.annotations.GenericGenerator;     
\ No newline at end of file
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/DaoBase.java b/musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/DaoBase.java
deleted file mode 100644 (file)
index 1c42608..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/**\r
- * \r
- */\r
-package org.bgbm.persistence.dao;\r
-\r
-import java.io.Serializable;\r
-import java.util.List;\r
-\r
-import org.apache.log4j.Logger;\r
-import org.bgbm.model.EntityBase;\r
-import org.hibernate.Session;\r
-import org.hibernate.SessionFactory;\r
-import org.springframework.beans.factory.annotation.Autowired;\r
-import org.springframework.dao.DataAccessException;\r
-import org.springframework.transaction.annotation.Transactional;\r
-\r
-\r
-/**\r
- * @author a.mueller\r
- *\r
- */\r
-public abstract class DaoBase<T extends EntityBase> implements IDao<T> {\r
-       static Logger logger = Logger.getLogger(DaoBase.class);\r
-\r
-       @Autowired\r
-       public SessionFactory factory;\r
-       protected Class<T> type;\r
-       \r
-       public DaoBase(Class<T> type){\r
-               this.type = type;\r
-               logger.debug("Creating DAO of type [" + type.getSimpleName() + "]");\r
-       }\r
-       \r
-       protected Session getSession(){\r
-               return factory.getCurrentSession();\r
-       }\r
-       \r
-       public void save(T domainObj) throws DataAccessException  {\r
-               getSession().saveOrUpdate(domainObj);\r
-       }\r
-\r
-       public void update(T domainObj) throws DataAccessException {\r
-               getSession().update(domainObj);\r
-       }\r
-       \r
-       public void delete(T domainObj) throws DataAccessException {\r
-               getSession().delete(domainObj);\r
-       }\r
-\r
-       public T findById(Integer id) throws DataAccessException {\r
-               T obj = (T) getSession().load(type, id);\r
-               return obj;\r
-       }\r
-\r
-}\r
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/GenericDao.java b/musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/GenericDao.java
deleted file mode 100644 (file)
index da21b8f..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.bgbm.persistence.dao;
-
-
-import java.io.Serializable;
-import java.util.List;
-
-import org.apache.log4j.Logger;
-import org.bgbm.model.EntityBase;
-import org.hibernate.Session;
-import org.hibernate.SessionFactory;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.dao.DataAccessException;
-import org.springframework.stereotype.Repository;
-import org.springframework.transaction.annotation.Transactional;
-
-
-@Repository
-public class GenericDao{
-       static Logger logger = Logger.getLogger(GenericDao.class);
-       @Autowired
-       public SessionFactory factory;
-
-       
-       protected Session getSession(){
-               return factory.getCurrentSession();
-       }
-       
-       public void save(EntityBase domainObj) throws DataAccessException  {
-               getSession().saveOrUpdate(domainObj);
-       }
-
-       public void update(EntityBase domainObj) throws DataAccessException {
-               getSession().update(domainObj);
-       }
-       
-       public void delete(EntityBase domainObj) throws DataAccessException {
-               getSession().delete(domainObj);
-       }
-
-       public EntityBase findById(Integer id, Class type) throws DataAccessException {
-               EntityBase obj = (EntityBase) getSession().load(type, id);
-               return obj;
-       }
-}
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/IDao.java b/musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/IDao.java
deleted file mode 100644 (file)
index c75064c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy 
-* http://www.e-taxonomy.eu
-* 
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-
-package org.bgbm.persistence.dao;
-
-
-import java.io.Serializable;
-
-import org.bgbm.model.EntityBase;
-import org.hibernate.SessionFactory;
-import org.springframework.dao.DataAccessException;
-
-
-/**
- * an data access interface that all data access classes implement
- * @author m.doering
- * @version 1.0
- * @created 02-Nov-2007 19:36:10
- */
-public interface IDao<T extends EntityBase> {
-       public void save(T transientObject) throws DataAccessException;
-       
-       public void update(T transientObject) throws DataAccessException;
-
-       public void delete(T persistentObject) throws DataAccessException;
-       
-       public T findById(Integer id) throws DataAccessException;
-
-}
diff --git a/musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/RecordDaoImpl.java b/musiclib-hibernatetest/src/main/java/org/bgbm/persistence/dao/RecordDaoImpl.java
deleted file mode 100644 (file)
index 2bad4c0..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-package org.bgbm.persistence.dao;\r
-\r
-import java.util.List;\r
-\r
-import org.apache.log4j.Logger;\r
-import org.bgbm.model.Record;\r
-import org.springframework.stereotype.Repository;\r
-import org.springframework.transaction.annotation.Transactional;\r
-\r
-\r
-@Repository\r
-public class RecordDaoImpl extends DaoBase<Record> implements IDao<Record>{\r
-       private static final Logger logger = Logger.getLogger(RecordDaoImpl.class);\r
-\r
-       public RecordDaoImpl() {\r
-               super(Record.class); \r
-       }\r
-}\r
diff --git a/musiclib-hibernatetest/src/main/resources/appInitContext.xml b/musiclib-hibernatetest/src/main/resources/appInitContext.xml
deleted file mode 100644 (file)
index d405aae..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:context="http://www.springframework.org/schema/context"
-    xmlns:tx="http://www.springframework.org/schema/tx"
-    xsi:schemaLocation="http://www.springframework.org/schema/beans 
-    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
-    http://www.springframework.org/schema/context
-    http://www.springframework.org/schema/context/spring-context-2.5.xsd">
-    <import resource="applicationContext.xml"/>
-</beans>    
\ No newline at end of file
diff --git a/musiclib-hibernatetest/src/main/resources/applicationContext.xml b/musiclib-hibernatetest/src/main/resources/applicationContext.xml
deleted file mode 100644 (file)
index 1eca5e6..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:context="http://www.springframework.org/schema/context"
-    xmlns:tx="http://www.springframework.org/schema/tx"
-    xsi:schemaLocation="http://www.springframework.org/schema/beans 
-    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
-    http://www.springframework.org/schema/context
-    http://www.springframework.org/schema/context/spring-context-2.5.xsd">
-        
-    <bean id="mysqlDataSource" 
-        class="org.springframework.jdbc.datasource.DriverManagerDataSource">
-        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
-        <property name="url" value="jdbc:mysql://192.168.2.10/musiclib_hibernatetest"/>
-        <property name="username" value="edit"/>
-        <property name="password" value="wp5"/>
-    </bean>
-
-
-    <context:component-scan base-package="org.bgbm"/>
-    
-    <!-- enable the configuration of transactional behavior based on annotations -->
-    <tx:annotation-driven transaction-manager="transactionManager"/>    
-    
-    <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
-        <property name="sessionFactory" ref="sessionFactory" />
-    </bean>
-    
-    <bean id="sessionFactory" 
-        class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
-        <property name="dataSource" ref="mysqlDataSource"/>
-        <property name="annotatedPackages">
-            <list>
-                <value>org.bgbm.model</value>
-            </list>
-        </property>
-        
-        <property name="annotatedClasses">
-            <list>
-                <value>org.bgbm.model.Annotation</value>
-                <value>org.bgbm.model.Annotatable</value>
-                <value>org.bgbm.model.Band</value>
-                <value>org.bgbm.model.EntityBase</value>
-                <value>org.bgbm.model.Label</value>
-                <value>org.bgbm.model.Record</value>
-                <value>org.bgbm.model.Track</value>            
-            </list>
-        </property>
-        <property name="hibernateProperties">
-            <props>
-                <prop key="hibernate.hbm2ddl.auto">create</prop>
-                <prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop>
-                <prop key="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</prop>
-                <prop key="hibernate.show_sql">true</prop>
-                <!--
-                <prop key="hibernate.format_sql">false</prop>
-                <prop key="hibernate.use_sql_comments">true</prop>
-                -->
-                </props>
-        </property>
-    </bean>
-    
-</beans>
-
diff --git a/musiclib-hibernatetest/src/main/resources/log4j.properties b/musiclib-hibernatetest/src/main/resources/log4j.properties
deleted file mode 100644 (file)
index a0288ac..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-### ************ APPENDER ***********************************###
-
-### direct log messages to stdout ###
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.Target=System.out
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
-
-### direct messages to file hibernate.log ###
-log4j.appender.file=org.apache.log4j.FileAppender
-log4j.appender.file.File=hibernate.log
-log4j.appender.file.layout=org.apache.log4j.PatternLayout
-log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
-
-
-### ************* LOG LEVELS *********************************###
-
-### set log levels - for more verbose logging change 'info' to 'debug' ###
-
-log4j.rootLogger=info, stdout
-
-       ### *** CDM *** ###
-
-log4j.logger.org.bgbm = debug 
-
-       ### ***HIBERNATE ************ ###
-
-log4j.logger.org.hibernate=warn
-
-### log HQL query parser activity
-log4j.logger.org.hibernate.hql.ast.AST=info
-
-### log just the SQL
-log4j.logger.org.hibernate.SQL=debug
-
-### log JDBC bind parameters ###
-log4j.logger.org.hibernate.type=info
-
-### log schema export/update ###
-log4j.logger.org.hibernate.tool.hbm2ddl=warn
-
-### log HQL parse trees
-#log4j.logger.org.hibernate.hql=debug
-
-### log cache activity ###
-log4j.logger.org.hibernate.cache=debug
-
-### log transaction activity
-#log4j.logger.org.hibernate.transaction=debug
-
-### log JDBC resource acquisition
-log4j.logger.org.hibernate.jdbc=info
diff --git a/musiclib-hibernatetest/src/site/site.xml b/musiclib-hibernatetest/src/site/site.xml
deleted file mode 100644 (file)
index 5521ea8..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>\r
-<project name="cdmLibrary">\r
-  <bannerLeft>\r
-    <name>CdmLibrary</name>\r
-    <src>http://www.e-taxonomy.eu/_styles/images/logo_edit.png</src>\r
-    <href>http://eu.e-taxonomy.cdm/</href>\r
-  </bannerLeft>\r
-  <bannerRight>\r
-    <src>http://www.e-taxonomy.eu/_styles/images/logo_edit.png</src>\r
-  </bannerRight>\r
- <!-- <skin>\r
-       <groupId>org.apache.maven.skins</groupId>\r
-       <artifactId>maven-stylus-skin</artifactId>\r
-       <version>1.0.1</version>\r
-  </skin>  -->\r
-  <skin>\r
-       <groupId>org.apache.maven.skins</groupId>\r
-<!--<artifactId>maven-stylus-skin</artifactId>\r
-       <version>1.0.1</version>\r
-       <artifactId>maven-default-skin</artifactId>\r
-       <version>1.0</version>\r
--->    <artifactId>maven-classic-skin</artifactId>\r
-       <version>1.0</version>\r
-  </skin>\r
-  \r
-  <publishDate format="dd-MM-yyyy"/>  \r
-  <body>\r
-    <links>\r
-      <item name="Edit" href="http://www.e-taxonomy.eu/" />\r
-      <item name="WP5" href="http://wp5.e-taxonomy.eu/blog/index.php"/>\r
-    </links>\r
-\r
-    <menu name="CdmLibrary">\r
-      <item name="Introduction" href="index.html"/>\r
-      <item name="Download" href="source-repository.html"/>\r
-     </menu>\r
-     <menu name="TestMenu">\r
-       <item name="TestItem"/>\r
-     </menu>\r
-       ${reports}\r
-  </body>\r
-</project>
\ No newline at end of file
diff --git a/musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/DatabaseInitialiser.java b/musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/DatabaseInitialiser.java
deleted file mode 100644 (file)
index 1e8e950..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-package org.bgbm.persistence.dao;
-
-import java.util.Random;
-
-import javax.transaction.TransactionManager;
-
-import org.apache.log4j.Logger;
-import org.bgbm.model.Band;
-import org.bgbm.model.Label;
-import org.bgbm.model.Record;
-import org.bgbm.model.Track;
-import org.hibernate.Session;
-import org.hibernate.SessionFactory;
-import org.hibernate.Transaction;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-import org.springframework.orm.hibernate3.HibernateTransactionManager;
-import org.springframework.stereotype.Component;
-import org.springframework.transaction.annotation.Transactional;
-
-
-
-@Component
-@Transactional
-public class DatabaseInitialiser {
-       private static final Logger logger = Logger.getLogger(DatabaseInitialiser.class);
-
-
-       @Autowired
-       private RecordDaoImpl recordDao;
-       @Autowired
-       private GenericDao dao;
-       @Autowired
-       private HibernateTransactionManager txm;
-
-
-       public void playWithRecord(Integer id){
-               Record rOrig = (Record)dao.findById(id, Record.class);
-               for (Record r : rOrig.getLabel().getRecords()){
-                       logger.debug(r.toString());
-                       for (Track t : r.getTracks()){
-                               logger.debug(t.toString());
-                       }
-               }
-       }
-
-       public Integer insertRecord(){
-               logger.info("Populate database with a record");
-               Random generator=new Random();
-               Label label = new Label("Universal Music");
-               Band artist = new Band("Sons of Austria");
-               Record record = new Record("Austrian love songs",null,label);
-               String [] songs = {"beat me","hello world","love you always","tear me apart","knock me down"};
-               for (String s : songs){
-                       record.addTrack(s, artist, generator.nextDouble()*6);                   
-               }
-               // save record
-               logger.debug("Save record: "+record.toString());
-               dao.save(record);
-               return record.getId();
-       }
-
-}
diff --git a/musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/RecordDaoImplTest.java b/musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/RecordDaoImplTest.java
deleted file mode 100644 (file)
index 2d1768b..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-package org.bgbm.persistence.dao;
-
-
-import static org.junit.Assert.*;
-
-import org.apache.log4j.Logger;
-import org.bgbm.model.Band;
-import org.bgbm.model.Label;
-import org.bgbm.model.Record;
-import org.bgbm.model.Track;
-import org.junit.Before;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.test.context.ContextConfiguration;
-import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
-import org.springframework.test.context.transaction.TransactionConfiguration;
-import org.springframework.transaction.annotation.Transactional;
-import java.util.Random;
-
-@RunWith(SpringJUnit4ClassRunner.class)
-@ContextConfiguration(locations={"/applicationContext.xml"})
-@TransactionConfiguration(defaultRollback=false)
-@Transactional
-public class RecordDaoImplTest {
-       static Logger logger = Logger.getLogger(RecordDaoImplTest.class);
-       
-       @Autowired
-       private RecordDaoImpl dao;
-       private static DatabaseInitialiser dbi = new DatabaseInitialiser();
-       private static Integer recordId;
-       private Band artist = new Band("Motorhead");
-       
-       @BeforeClass
-       public static void insertRecord(){
-               recordId = dbi.insertRecord();
-       }
-       @Before
-       public void setUp() throws Exception {
-       }
-
-       @Test
-       public void testSave() {
-               Record rec=dao.findById(recordId);
-               rec.addTrack("beat me (reprise)", artist, 3.34);
-               logger.info(rec.toString());
-               dao.save(rec);
-       }
-
-       @Test
-       public void testFindById() {
-               Record rec=dao.findById(recordId);
-               logger.info("Record found: " + rec.toString());
-               //assertEquals(record, rec);
-       }
-
-       @Test
-       public void deleteBand() {
-               Record rec=dao.findById(recordId);
-               for (Track t : rec.getTracks()){
-                       t.setArtist(null);
-               }
-               logger.info(rec.toString());
-               dao.save(rec);
-       }
-
-       @Test
-       public void annotateRecord() {
-               Record rec=dao.findById(recordId);
-               rec.addAnnotation("tachchen");
-               logger.info(rec.toString());
-               dao.save(rec);
-       }
-
-}
diff --git a/musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/TestIt.java b/musiclib-hibernatetest/src/test/java/org/bgbm/persistence/dao/TestIt.java
deleted file mode 100644 (file)
index b50eb21..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.bgbm.persistence.dao;
-
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class TestIt {
-       private static ClassPathXmlApplicationContext applicationContext;
-
-       public static void main(String[] args) {
-               applicationContext = new ClassPathXmlApplicationContext("appInitContext.xml");
-               DatabaseInitialiser dbInit = (DatabaseInitialiser)applicationContext.getBean("databaseInitialiser");
-               dbInit.insertRecord();
-               Integer rId = dbInit.insertRecord();
-               dbInit.playWithRecord(rId);
-       }
-
-}
diff --git a/musiclib-hibernatetest/target/mvn-eclipse-cache.properties b/musiclib-hibernatetest/target/mvn-eclipse-cache.properties
deleted file mode 100644 (file)
index 2c950dc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#Temporary index for unavailable sources and javadocs\r
-#Wed Feb 27 19:33:49 CET 2008\r
diff --git a/pluginTesterApplication/.classpath b/pluginTesterApplication/.classpath
deleted file mode 100644 (file)
index 0215967..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<classpath>\r
-       <classpathentry kind="src" path="src"/>\r
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>\r
-       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>\r
-       <classpathentry kind="output" path="bin"/>\r
-</classpath>\r
diff --git a/pluginTesterApplication/.project b/pluginTesterApplication/.project
deleted file mode 100644 (file)
index e2f069a..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<projectDescription>\r
-       <name>pluginTesterApplication</name>\r
-       <comment></comment>\r
-       <projects>\r
-       </projects>\r
-       <buildSpec>\r
-               <buildCommand>\r
-                       <name>org.eclipse.jdt.core.javabuilder</name>\r
-                       <arguments>\r
-                       </arguments>\r
-               </buildCommand>\r
-               <buildCommand>\r
-                       <name>org.eclipse.pde.ManifestBuilder</name>\r
-                       <arguments>\r
-                       </arguments>\r
-               </buildCommand>\r
-               <buildCommand>\r
-                       <name>org.eclipse.pde.SchemaBuilder</name>\r
-                       <arguments>\r
-                       </arguments>\r
-               </buildCommand>\r
-       </buildSpec>\r
-       <natures>\r
-               <nature>org.eclipse.pde.PluginNature</nature>\r
-               <nature>org.eclipse.jdt.core.javanature</nature>\r
-       </natures>\r
-</projectDescription>\r
diff --git a/pluginTesterApplication/META-INF/MANIFEST.MF b/pluginTesterApplication/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 167a868..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: PluginTesterApplication Plug-in
-Bundle-SymbolicName: pluginTesterApplication; singleton:=true
-Bundle-Version: 1.0.0
-Bundle-Activator: plugintesterapplication.Activator
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- eu.etaxonomy.cdmLibrary
-Eclipse-LazyStart: true
-Bundle-ClassPath: .,
- src/target/
diff --git a/pluginTesterApplication/build.properties b/pluginTesterApplication/build.properties
deleted file mode 100644 (file)
index 1e4f080..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/\r
-output.. = bin/\r
-bin.includes = plugin.xml,\\r
-               META-INF/,\\r
-               .,\\r
-               src/test/\r
diff --git a/pluginTesterApplication/icons/alt_window_16.gif b/pluginTesterApplication/icons/alt_window_16.gif
deleted file mode 100644 (file)
index 05626b1..0000000
Binary files a/pluginTesterApplication/icons/alt_window_16.gif and /dev/null differ
diff --git a/pluginTesterApplication/icons/alt_window_32.gif b/pluginTesterApplication/icons/alt_window_32.gif
deleted file mode 100644 (file)
index b432f88..0000000
Binary files a/pluginTesterApplication/icons/alt_window_32.gif and /dev/null differ
diff --git a/pluginTesterApplication/plugin.xml b/pluginTesterApplication/plugin.xml
deleted file mode 100644 (file)
index 6b413b9..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<?eclipse version="3.2"?>\r
-<plugin>\r
-\r
-   <extension\r
-         id="application"\r
-         point="org.eclipse.core.runtime.applications">\r
-      <application>\r
-         <run\r
-               class="plugintesterapplication.Application">\r
-         </run>\r
-      </application>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.perspectives">\r
-      <perspective\r
-            name="Perspective"\r
-            class="plugintesterapplication.Perspective"\r
-            id="pluginTesterApplication.perspective">\r
-      </perspective>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.views">\r
-      <view\r
-            name="View"\r
-            class="plugintesterapplication.View"\r
-            id="pluginTesterApplication.view">\r
-      </view>\r
-   </extension>\r
-\r
-</plugin>\r
diff --git a/pluginTesterApplication/src/plugintesterapplication/Activator.java b/pluginTesterApplication/src/plugintesterapplication/Activator.java
deleted file mode 100644 (file)
index b83255e..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-package plugintesterapplication;\r
-\r
-import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.eclipse.ui.plugin.AbstractUIPlugin;\r
-import org.osgi.framework.BundleContext;\r
-\r
-/**\r
- * The activator class controls the plug-in life cycle\r
- */\r
-public class Activator extends AbstractUIPlugin {\r
-\r
-       // The plug-in ID\r
-       public static final String PLUGIN_ID = "pluginTesterApplication";\r
-\r
-       // The shared instance\r
-       private static Activator plugin;\r
-       \r
-       /**\r
-        * The constructor\r
-        */\r
-       public Activator() {\r
-       }\r
-\r
-       /*\r
-        * (non-Javadoc)\r
-        * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)\r
-        */\r
-       public void start(BundleContext context) throws Exception {\r
-               super.start(context);\r
-               plugin = this;\r
-       }\r
-\r
-       /*\r
-        * (non-Javadoc)\r
-        * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)\r
-        */\r
-       public void stop(BundleContext context) throws Exception {\r
-               plugin = null;\r
-               super.stop(context);\r
-       }\r
-\r
-       /**\r
-        * Returns the shared instance\r
-        *\r
-        * @return the shared instance\r
-        */\r
-       public static Activator getDefault() {\r
-               return plugin;\r
-       }\r
-\r
-       /**\r
-        * Returns an image descriptor for the image file at the given\r
-        * plug-in relative path\r
-        *\r
-        * @param path the path\r
-        * @return the image descriptor\r
-        */\r
-       public static ImageDescriptor getImageDescriptor(String path) {\r
-               return imageDescriptorFromPlugin(PLUGIN_ID, path);\r
-       }\r
-}\r
diff --git a/pluginTesterApplication/src/plugintesterapplication/Application.java b/pluginTesterApplication/src/plugintesterapplication/Application.java
deleted file mode 100644 (file)
index 3e38de0..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-package plugintesterapplication;
-
-import java.util.List;
-
-import org.eclipse.equinox.app.IApplication;
-import org.eclipse.equinox.app.IApplicationContext;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.PlatformUI;
-
-import eu.etaxonomy.cdm.api.application.CdmApplicationController;
-import eu.etaxonomy.cdm.model.common.DefinedTermBase;
-import eu.etaxonomy.cdm.model.common.TermVocabulary;
-
-
-/**
- * This class controls all aspects of the application's execution
- */
-public class Application implements IApplication {
-
-       /* (non-Javadoc)
-        * @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)
-        */
-       public Object start(IApplicationContext context) {
-               Display display = PlatformUI.createDisplay();
-               try {
-                       
-                       System.out.println("Start CDM");
-                       CdmApplicationController app = new CdmApplicationController();
-                       TermVocabulary<DefinedTermBase> o = app.getNameService().getRankEnumeration();
-                       System.out.println(o);
-                       
-                       int returnCode = PlatformUI.createAndRunWorkbench(display, new ApplicationWorkbenchAdvisor());
-                       if (returnCode == PlatformUI.RETURN_RESTART) {
-                               return IApplication.EXIT_RESTART;
-                       }
-                       return IApplication.EXIT_OK;
-                       
-                       
-                       
-               } finally {
-                       display.dispose();
-               }
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.equinox.app.IApplication#stop()
-        */
-       public void stop() {
-               final IWorkbench workbench = PlatformUI.getWorkbench();
-               if (workbench == null)
-                       return;
-               final Display display = workbench.getDisplay();
-               display.syncExec(new Runnable() {
-                       public void run() {
-                               if (!display.isDisposed())
-                                       workbench.close();
-                       }
-               });
-       }
-}
diff --git a/pluginTesterApplication/src/plugintesterapplication/ApplicationActionBarAdvisor.java b/pluginTesterApplication/src/plugintesterapplication/ApplicationActionBarAdvisor.java
deleted file mode 100644 (file)
index bbfabb3..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-package plugintesterapplication;
-
-import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.action.MenuManager;
-import org.eclipse.ui.IWorkbenchActionConstants;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.actions.ActionFactory;
-import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
-import org.eclipse.ui.application.ActionBarAdvisor;
-import org.eclipse.ui.application.IActionBarConfigurer;
-
-/**
- * An action bar advisor is responsible for creating, adding, and disposing of
- * the actions added to a workbench window. Each window will be populated with
- * new actions.
- */
-public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
-
-       // Actions - important to allocate these only in makeActions, and then use
-       // them
-       // in the fill methods. This ensures that the actions aren't recreated
-       // when fillActionBars is called with FILL_PROXY.
-       private IWorkbenchAction exitAction;
-
-       public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) {
-               super(configurer);
-       }
-
-       protected void makeActions(final IWorkbenchWindow window) {
-               // Creates the actions and registers them.
-               // Registering is needed to ensure that key bindings work.
-               // The corresponding commands keybindings are defined in the plugin.xml
-               // file.
-               // Registering also provides automatic disposal of the actions when
-               // the window is closed.
-
-               exitAction = ActionFactory.QUIT.create(window);
-               register(exitAction);
-       }
-
-       protected void fillMenuBar(IMenuManager menuBar) {
-               MenuManager fileMenu = new MenuManager("&File",
-                               IWorkbenchActionConstants.M_FILE);
-               menuBar.add(fileMenu);
-               fileMenu.add(exitAction);
-       }
-
-}
diff --git a/pluginTesterApplication/src/plugintesterapplication/ApplicationWorkbenchAdvisor.java b/pluginTesterApplication/src/plugintesterapplication/ApplicationWorkbenchAdvisor.java
deleted file mode 100644 (file)
index 4dc1ccb..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-package plugintesterapplication;
-
-import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
-import org.eclipse.ui.application.WorkbenchAdvisor;
-import org.eclipse.ui.application.WorkbenchWindowAdvisor;
-
-public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
-
-       private static final String PERSPECTIVE_ID = "pluginTesterApplication.perspective";
-
-       public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
-                       IWorkbenchWindowConfigurer configurer) {
-               return new ApplicationWorkbenchWindowAdvisor(configurer);
-       }
-
-       public String getInitialWindowPerspectiveId() {
-               return PERSPECTIVE_ID;
-       }
-
-}
diff --git a/pluginTesterApplication/src/plugintesterapplication/ApplicationWorkbenchWindowAdvisor.java b/pluginTesterApplication/src/plugintesterapplication/ApplicationWorkbenchWindowAdvisor.java
deleted file mode 100644 (file)
index 0003ecb..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package plugintesterapplication;
-
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.ui.application.ActionBarAdvisor;
-import org.eclipse.ui.application.IActionBarConfigurer;
-import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
-import org.eclipse.ui.application.WorkbenchWindowAdvisor;
-
-public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
-
-       public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
-               super(configurer);
-       }
-
-       public ActionBarAdvisor createActionBarAdvisor(
-                       IActionBarConfigurer configurer) {
-               return new ApplicationActionBarAdvisor(configurer);
-       }
-
-       public void preWindowOpen() {
-               IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
-               configurer.setInitialSize(new Point(400, 300));
-               configurer.setShowCoolBar(false);
-               configurer.setShowStatusLine(false);
-               configurer.setTitle("RCP Application");
-       }
-}
diff --git a/pluginTesterApplication/src/plugintesterapplication/Perspective.java b/pluginTesterApplication/src/plugintesterapplication/Perspective.java
deleted file mode 100644 (file)
index dcea75b..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package plugintesterapplication;
-
-import org.eclipse.ui.IPageLayout;
-import org.eclipse.ui.IPerspectiveFactory;
-
-public class Perspective implements IPerspectiveFactory {
-
-       public void createInitialLayout(IPageLayout layout) {
-               String editorArea = layout.getEditorArea();
-               layout.setEditorAreaVisible(false);
-               layout.setFixed(true);
-               
-               layout.addStandaloneView(View.ID,  false, IPageLayout.LEFT, 1.0f, editorArea);
-       }
-
-}
diff --git a/pluginTesterApplication/src/plugintesterapplication/View.java b/pluginTesterApplication/src/plugintesterapplication/View.java
deleted file mode 100644 (file)
index 87126e1..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-package plugintesterapplication;
-
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.ITableLabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.ISharedImages;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.part.ViewPart;
-
-public class View extends ViewPart {
-       public static final String ID = "pluginTesterApplication.view";
-
-       private TableViewer viewer;
-
-       /**
-        * The content provider class is responsible for providing objects to the
-        * view. It can wrap existing objects in adapters or simply return objects
-        * as-is. These objects may be sensitive to the current input of the view,
-        * or ignore it and always show the same content (like Task List, for
-        * example).
-        */
-       class ViewContentProvider implements IStructuredContentProvider {
-               public void inputChanged(Viewer v, Object oldInput, Object newInput) {
-               }
-
-               public void dispose() {
-               }
-
-               public Object[] getElements(Object parent) {
-                       return new String[] { "One", "Two", "Three" };
-               }
-       }
-
-       class ViewLabelProvider extends LabelProvider implements
-                       ITableLabelProvider {
-               public String getColumnText(Object obj, int index) {
-                       return getText(obj);
-               }
-
-               public Image getColumnImage(Object obj, int index) {
-                       return getImage(obj);
-               }
-
-               public Image getImage(Object obj) {
-                       return PlatformUI.getWorkbench().getSharedImages().getImage(
-                                       ISharedImages.IMG_OBJ_ELEMENT);
-               }
-       }
-
-       /**
-        * This is a callback that will allow us to create the viewer and initialize
-        * it.
-        */
-       public void createPartControl(Composite parent) {
-               viewer = new TableViewer(parent, SWT.MULTI | SWT.H_SCROLL
-                               | SWT.V_SCROLL);
-               viewer.setContentProvider(new ViewContentProvider());
-               viewer.setLabelProvider(new ViewLabelProvider());
-               viewer.setInput(getViewSite());
-       }
-
-       /**
-        * Passing the focus request to the viewer's control.
-        */
-       public void setFocus() {
-               viewer.getControl().setFocus();
-       }
-}
\ No newline at end of file
diff --git a/pluginTesterApplication/src/test/testClass.java b/pluginTesterApplication/src/test/testClass.java
deleted file mode 100644 (file)
index d31aea8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-package test;\r
-\r
-import eu.etaxonomy.cdm.model.name.TaxonNameBase;\r
-\r
-public class testClass {\r
-       TaxonNameBase tn;\r
-}\r
diff --git a/pom.xml b/pom.xml
index afff06de796d185407c7ab322d4612a1facfdb1d..dceeefbb2bcf7542a24ea611f32a1a7da29d528a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
                <module>cdmlib-persistence</module>\r
                <module>cdmlib-services</module>\r
                <module>cdmlib-ext</module>\r
-               <module>cdmlib-remote</module>\r
+               <!--module>cdmlib-remote</module-->\r
     <!-- <module>cdm-server</module> -->\r
                <module>cdmlib-io</module>\r
        </modules>\r