geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r499207 - /geronimo/server/trunk/modules/geronimo-openejb-builder/geronimo-openejb.xml
Date Wed, 24 Jan 2007 01:19:22 GMT
Author: dblevins
Date: Tue Jan 23 17:19:18 2007
New Revision: 499207

URL: http://svn.apache.org/viewvc?view=rev&rev=499207
Log:
this is the wrong place for this but better if it's just checked in

Added:
    geronimo/server/trunk/modules/geronimo-openejb-builder/geronimo-openejb.xml

Added: geronimo/server/trunk/modules/geronimo-openejb-builder/geronimo-openejb.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-openejb-builder/geronimo-openejb.xml?view=auto&rev=499207
==============================================================================
--- geronimo/server/trunk/modules/geronimo-openejb-builder/geronimo-openejb.xml (added)
+++ geronimo/server/trunk/modules/geronimo-openejb-builder/geronimo-openejb.xml Tue Jan 23
17:19:18 2007
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<ejb-jar xmlns="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0"
+    xmlns:n="http://geronimo.apache.org/xml/ns/naming-1.2"
+>
+    <environment>
+        <moduleId>
+            <groupId>itests</groupId>
+            <artifactId>itests</artifactId>
+            <version>1</version>
+            <type>car</type>
+        </moduleId>
+        <dependencies>
+            <dependency>
+                <groupId>commons-lang</groupId>
+                <artifactId>commons-lang</artifactId>
+                <version>2.0</version>
+            </dependency>
+            <dependency>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>3.8.1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.geronimo.configs</groupId>
+                <artifactId>system-database</artifactId>
+                <type>car</type>
+            </dependency>
+        </dependencies>
+    </environment>
+    <n:resource-ref>
+        <n:ref-name>database</n:ref-name>
+        <n:pattern>
+            <n:groupId>org.apache.geronimo.configs</n:groupId>
+            <n:artifactId>system-database</n:artifactId>
+            <n:name>SystemDatasource</n:name>
+        </n:pattern>
+    </n:resource-ref>
+    <n:resource-ref>
+        <n:ref-name>datasource</n:ref-name>
+        <n:pattern>
+            <n:groupId>org.apache.geronimo.configs</n:groupId>
+            <n:artifactId>system-database</n:artifactId>
+            <n:name>SystemDatasource</n:name>
+        </n:pattern>
+    </n:resource-ref>
+    <n:resource-ref>
+        <n:ref-name>jdbc/basic/entityDatabase</n:ref-name>
+        <n:pattern>
+            <n:groupId>org.apache.geronimo.configs</n:groupId>
+            <n:artifactId>system-database</n:artifactId>
+            <n:name>SystemDatasource</n:name>
+        </n:pattern>
+    </n:resource-ref>
+    <n:resource-ref>
+        <n:ref-name>stateless/references/Resource_manager_access</n:ref-name>
+        <n:pattern>
+            <n:groupId>org.apache.geronimo.configs</n:groupId>
+            <n:artifactId>system-database</n:artifactId>
+            <n:name>SystemDatasource</n:name>
+        </n:pattern>
+    </n:resource-ref>
+    <n:persistence-context-ref>
+        <n:persistence-context-ref-name>persistence/TestContext</n:persistence-context-ref-name>
+        <n:persistence-unit-name>openjpa-test-unit</n:persistence-unit-name>
+        <n:persistence-context-type>Transactional</n:persistence-context-type>
+    </n:persistence-context-ref>
+    <n:persistence-context-ref>
+        <n:persistence-context-ref-name>persistence/ExtendedTestContext</n:persistence-context-ref-name>
+        <n:persistence-unit-name>openjpa-test-unit</n:persistence-unit-name>
+        <n:persistence-context-type>Extended</n:persistence-context-type>
+    </n:persistence-context-ref>
+    <n:persistence-context-ref>
+        <n:persistence-context-ref-name>openejb/cmp</n:persistence-context-ref-name>
+        <n:persistence-unit-name>cmp</n:persistence-unit-name>
+        <n:persistence-context-type>Transactional</n:persistence-context-type>
+    </n:persistence-context-ref>
+    <n:persistence-unit-ref>
+        <n:persistence-unit-ref-name>persistence/TestUnit</n:persistence-unit-ref-name>
+        <n:persistence-unit-name>openjpa-test-unit</n:persistence-unit-name>
+    </n:persistence-unit-ref>
+
+    <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
+        <persistence-unit transaction-type="JTA" name="cmp">
+            <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+            <jta-data-source>?name=SystemDatasource</jta-data-source>
+            <non-jta-data-source>?name=NoTxDatasource</non-jta-data-source>
+            <mapping-file>META-INF/jpa.mapping.xml</mapping-file>
+            <class>org.apache.openejb.test.entity.cmp.BasicCmpBean</class>
+            <exclude-unlisted-classes>false</exclude-unlisted-classes>
+        </persistence-unit>
+        <persistence-unit transaction-type="JTA" name="openjpa-test-unit">
+            <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+            <jta-data-source>?name=SystemDatasource</jta-data-source>
+            <non-jta-data-source>?name=NoTxDatasource</non-jta-data-source>
+            <class>org.apache.openejb.test.entity.Customer</class>
+        </persistence-unit>
+    </persistence>
+</ejb-jar>



Mime
View raw message