You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by vi...@apache.org on 2010/12/30 12:23:10 UTC
svn commit: r1053854 - in /geronimo/samples/branches/2.2/samples:
bank/bank-ear/src/main/resources/META-INF/
bank/bank-ear/src/main/resources/META-INF/geronimo-application.xml
customer/customer-ear/src/main/resources/META-INF/geronimo-application.xml
Author: violalu
Date: Thu Dec 30 11:23:10 2010
New Revision: 1053854
URL: http://svn.apache.org/viewvc?rev=1053854&view=rev
Log:
Add geronimo deployment plan to bank and customer samples.
Added:
geronimo/samples/branches/2.2/samples/bank/bank-ear/src/main/resources/META-INF/
geronimo/samples/branches/2.2/samples/bank/bank-ear/src/main/resources/META-INF/geronimo-application.xml
geronimo/samples/branches/2.2/samples/customer/customer-ear/src/main/resources/META-INF/geronimo-application.xml
Added: geronimo/samples/branches/2.2/samples/bank/bank-ear/src/main/resources/META-INF/geronimo-application.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.2/samples/bank/bank-ear/src/main/resources/META-INF/geronimo-application.xml?rev=1053854&view=auto
==============================================================================
--- geronimo/samples/branches/2.2/samples/bank/bank-ear/src/main/resources/META-INF/geronimo-application.xml (added)
+++ geronimo/samples/branches/2.2/samples/bank/bank-ear/src/main/resources/META-INF/geronimo-application.xml Thu Dec 30 11:23:10 2010
@@ -0,0 +1,45 @@
+<?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.
+-->
+
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-2.0">
+
+ <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
+ <moduleId>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>${pom.artifactId}</artifactId>
+ <version>${version}</version>
+ <type>car</type>
+ </moduleId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>sample-datasource</artifactId>
+ <type>car</type>
+ </dependency>
+ </dependencies>
+ </environment>
+ <gbean name="DBInitialization" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
+ <attribute name="testSQL">select * from customer</attribute>
+ <attribute name="path">BankDB.sql</attribute>
+ <reference name="DataSource">
+ <name>SampleTxDatasource</name>
+ </reference>
+ </gbean>
+</application>
Added: geronimo/samples/branches/2.2/samples/customer/customer-ear/src/main/resources/META-INF/geronimo-application.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.2/samples/customer/customer-ear/src/main/resources/META-INF/geronimo-application.xml?rev=1053854&view=auto
==============================================================================
--- geronimo/samples/branches/2.2/samples/customer/customer-ear/src/main/resources/META-INF/geronimo-application.xml (added)
+++ geronimo/samples/branches/2.2/samples/customer/customer-ear/src/main/resources/META-INF/geronimo-application.xml Thu Dec 30 11:23:10 2010
@@ -0,0 +1,45 @@
+<?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.
+-->
+
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-2.0">
+
+ <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
+ <moduleId>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>${pom.artifactId}</artifactId>
+ <version>${version}</version>
+ <type>car</type>
+ </moduleId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.geronimo.samples</groupId>
+ <artifactId>sample-datasource</artifactId>
+ <type>car</type>
+ </dependency>
+ </dependencies>
+ </environment>
+ <gbean name="DBInitialization" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
+ <!--<attribute name="testSQL">select * from customer</attribute>-->
+ <attribute name="path">CustomerService.sql</attribute>
+ <reference name="DataSource">
+ <name>SampleTxDatasource</name>
+ </reference>
+ </gbean>
+</application>