bug 395809 - [enterprise] Add transformation of Tomcat naming resources in enterprise deployer
diff --git a/build-web/build.xml b/build-web/build.xml
index c52c79b..5a8d843 100644
--- a/build-web/build.xml
+++ b/build-web/build.xml
@@ -7,7 +7,6 @@
 		<pathelement location="../org.eclipse.virgo.web.tomcat.support"/>
         <pathelement location="../org.eclipse.virgo.web.war.deployer"/>
         <pathelement location="../org.eclipse.virgo.web.enterprise.appdeployer"/>
-        <pathelement location="../org.eclipse.virgo.web.enterprise.resource.operator"/>
         <pathelement location="../org.eclipse.virgo.web.enterprise.applistener"/>
         <pathelement location="../org.eclipse.virgo.web.enterprise.jsf.support"/>
         <pathelement location="../org.eclipse.virgo.web.enterprise.openejb.initialiser"/>
diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/.classpath b/org.eclipse.virgo.web.enterprise.resource.operator/.classpath
deleted file mode 100755
index b942d9c..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/.classpath
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-	<classpathentry kind="src" path="src/main/resources"/>
-	<classpathentry kind="src" path="src/test/resources"/>
-	<classpathentry kind="src" path="src/test/java"/>
-	<classpathentry kind="src" path="src/main/java"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-	<classpathentry combineaccessrules="false" kind="src" path="/org.eclipse.virgo.web.enterprise.appdeployer"/>
-	<classpathentry kind="var" path="IVY_CACHE/org.eclipse.virgo.mirrored/org.apache.catalina/7.0.32.v201211201336/org.apache.catalina-7.0.32.v201211201336.jar"/>
-	<classpathentry kind="var" path="IVY_CACHE/org.eclipse.virgo.mirrored/org.apache.openejb.core/4.0.0.beta-2_v201205260545-virgo-2/org.apache.openejb.core-4.0.0.beta-2_v201205260545-virgo-2.jar"/>
-	<classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/.project b/org.eclipse.virgo.web.enterprise.resource.operator/.project
deleted file mode 100755
index 7add33b..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/.project
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<projectDescription>

-	<name>org.eclipse.virgo.web.enterprise.resource.operator</name>

-	<comment></comment>

-	<projects>

-	</projects>

-	<buildSpec>

-		<buildCommand>

-			<name>org.eclipse.jdt.core.javabuilder</name>

-			<arguments>

-			</arguments>

-		</buildCommand>

-		<buildCommand>

-			<name>org.eclipse.pde.ds.core.builder</name>

-			<arguments>

-			</arguments>

-		</buildCommand>

-	</buildSpec>

-	<natures>

-		<nature>org.eclipse.jdt.core.javanature</nature>

-	</natures>

-</projectDescription>

diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.virgo.web.enterprise.resource.operator/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100755
index f2e2e25..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Thu Feb 09 11:19:23 EET 2012

-eclipse.preferences.version=1

-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled

-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6

-org.eclipse.jdt.core.compiler.compliance=1.6

-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error

-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error

-org.eclipse.jdt.core.compiler.source=1.6

diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/build.properties b/org.eclipse.virgo.web.enterprise.resource.operator/build.properties
deleted file mode 100755
index a65755c..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-source.. = src/

-output.. = bin/

-bin.includes = META-INF/,\

-               .,\

-               OSGI-INF/

diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/build.xml b/org.eclipse.virgo.web.enterprise.resource.operator/build.xml
deleted file mode 100644
index d3a6137..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/build.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="org.eclipse.virgo.web.enterprise.resource.operator">
-
-	<property name="findbugs.exclude.file" value="${basedir}/findbugs-exclude.xml"/>
-	<property file="${basedir}/../build.properties"/>
-	<property file="${basedir}/../build.versions"/>
-	<import file="${basedir}/../virgo-build/standard/default.xml"/>
-
-</project>
diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/ivy.xml b/org.eclipse.virgo.web.enterprise.resource.operator/ivy.xml
deleted file mode 100644
index 324bd60..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd" version="2.0">
-
-	<info organisation="${project.organisation}" module="${ant.project.name}"/>
-
-	<configurations>
-		<include file="${virgo.build.dir}/common/default-ivy-configurations.xml"/>
-	</configurations>
-
-	<publications>
-		<artifact name="${ant.project.name}"/>
-		<artifact name="${ant.project.name}-sources" type="src" ext="jar"/>
-	</publications>
-
-	<dependencies>
-        <dependency org="org.eclipse.virgo.mirrored" name="org.apache.catalina" rev="${org.apache.catalina}" conf="compile->runtime"/>
-        <dependency org="org.eclipse.virgo.mirrored" name="org.apache.openejb.core" rev="${org.apache.openejb.core}" conf="compile->runtime"/>
-        <dependency org="org.eclipse.virgo.web" name="org.eclipse.virgo.web.enterprise.appdeployer" rev="latest.integration" conf="compile->runtime"/>
-	</dependencies>
-
-</ivy-module>
diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/src/main/java/org/eclipse/virgo/web/enterprise/resource/operator/StandardResourceOperator.java b/org.eclipse.virgo.web.enterprise.resource.operator/src/main/java/org/eclipse/virgo/web/enterprise/resource/operator/StandardResourceOperator.java
deleted file mode 100644
index c0ce7bb..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/src/main/java/org/eclipse/virgo/web/enterprise/resource/operator/StandardResourceOperator.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 SAP AG
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *   SAP AG - initial contribution
- *******************************************************************************/
-
-package org.eclipse.virgo.web.enterprise.resource.operator;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Properties;
-
-import org.apache.catalina.core.StandardContext;
-import org.apache.catalina.deploy.ContextResource;
-import org.apache.openejb.OpenEJBException;
-import org.apache.openejb.config.AppModule;
-import org.apache.openejb.config.ServiceUtils;
-import org.apache.openejb.config.sys.Resource;
-import org.apache.openejb.config.sys.ServiceProvider;
-
-
-public class StandardResourceOperator{
-}
diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/src/main/resources/EventLogMessages.properties b/org.eclipse.virgo.web.enterprise.resource.operator/src/main/resources/EventLogMessages.properties
deleted file mode 100755
index e77584a..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/src/main/resources/EventLogMessages.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-OE0000I = Initialised enterprise container for application with context path '{}'.

-OE0001W = Failed to initialise enterprise container for application with context path '{}'.

-OE0002I = Destroyed enterprise container for application with context path '{}'.

-OE0003W = Failed to destroy enterprise container for application with context path '{}'.

diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/src/main/resources/OSGI-INF/virgo.web.enterprise.resource.operator.xml b/org.eclipse.virgo.web.enterprise.resource.operator/src/main/resources/OSGI-INF/virgo.web.enterprise.resource.operator.xml
deleted file mode 100755
index 173d029..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/src/main/resources/OSGI-INF/virgo.web.enterprise.resource.operator.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<component name="virgo.web.enterprise.resource.operator" immediate="true" xmlns:src="http://www.osgi.org/xmlns/src/v1.1.0">

-	<implementation class="org.eclipse.virgo.web.enterprise.resource.operator.StandardResourceOperator"/>

- 	<service>

-    	<provide interface="org.eclipse.virgo.web.enterprise.openejb.deployer.ResourceOperator"/>

- 	</service>

-</component>

-

diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/src/main/resources/about.html b/org.eclipse.virgo.web.enterprise.resource.operator/src/main/resources/about.html
deleted file mode 100644
index c258ef5..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/src/main/resources/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
- 
-<p>June 5, 2006</p>	
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise 
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content.  Check the Redistributor's license that was 
-provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/src/test/java/.gitignore b/org.eclipse.virgo.web.enterprise.resource.operator/src/test/java/.gitignore
deleted file mode 100644
index e69de29..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/src/test/java/.gitignore
+++ /dev/null
diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/src/test/resources/.gitignore b/org.eclipse.virgo.web.enterprise.resource.operator/src/test/resources/.gitignore
deleted file mode 100755
index acee03f..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/src/test/resources/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-bin
-*.class
diff --git a/org.eclipse.virgo.web.enterprise.resource.operator/template.mf b/org.eclipse.virgo.web.enterprise.resource.operator/template.mf
deleted file mode 100644
index 43eba51..0000000
--- a/org.eclipse.virgo.web.enterprise.resource.operator/template.mf
+++ /dev/null
@@ -1,13 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Virgo Web Enterprise Resource Operator
-Bundle-SymbolicName: org.eclipse.virgo.web.enterprise.resource.operator
-Bundle-Version: ${version}
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Service-Component: OSGI-INF/virgo.web.enterprise.resource.operator.xml
-Import-Template: org.apache.catalina.*;version="${org.apache.catalina:[=.=.=, +1)}",
- org.apache.openejb.*;version="0",
- org.eclipse.virgo.medic.*;version="${org.eclipse.virgo.medic:[=.=.=, +1)}",
- org.eclipse.virgo.web.*;version="${version:[=.=.=, +1)}"
-Excluded-Exports:
- *.internal.*