You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2014/02/05 13:58:57 UTC
svn commit: r1564757 - in /wookie/trunk/wookie-services/wookie-jpa: pom.xml
src/ src/main/ src/main/webapp/ src/main/webapp/META-INF/
src/main/webapp/WEB-INF/ src/main/webapp/WEB-INF/web.xml
Author: scottbw
Date: Wed Feb 5 12:58:56 2014
New Revision: 1564757
URL: http://svn.apache.org/r1564757
Log:
started the process of moving JPA-specific WAR resources to the wookie-jpa module by putting the resource definition from web.xml into an overlap in wookie-jpa
Added:
wookie/trunk/wookie-services/wookie-jpa/src/
wookie/trunk/wookie-services/wookie-jpa/src/main/
wookie/trunk/wookie-services/wookie-jpa/src/main/webapp/
wookie/trunk/wookie-services/wookie-jpa/src/main/webapp/META-INF/
wookie/trunk/wookie-services/wookie-jpa/src/main/webapp/WEB-INF/
wookie/trunk/wookie-services/wookie-jpa/src/main/webapp/WEB-INF/web.xml
Modified:
wookie/trunk/wookie-services/wookie-jpa/pom.xml
Modified: wookie/trunk/wookie-services/wookie-jpa/pom.xml
URL: http://svn.apache.org/viewvc/wookie/trunk/wookie-services/wookie-jpa/pom.xml?rev=1564757&r1=1564756&r2=1564757&view=diff
==============================================================================
--- wookie/trunk/wookie-services/wookie-jpa/pom.xml (original)
+++ wookie/trunk/wookie-services/wookie-jpa/pom.xml Wed Feb 5 12:58:56 2014
@@ -22,7 +22,7 @@
<artifactId>wookie-jpa</artifactId>
<name>Apache Wookie :: JPA Service Provider</name>
<description>Apache Wookie JPA Service Provider</description>
- <packaging>jar</packaging>
+ <packaging>war</packaging>
<version>2.0.0-SNAPSHOT</version>
<parent>
Added: wookie/trunk/wookie-services/wookie-jpa/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/wookie/trunk/wookie-services/wookie-jpa/src/main/webapp/WEB-INF/web.xml?rev=1564757&view=auto
==============================================================================
--- wookie/trunk/wookie-services/wookie-jpa/src/main/webapp/WEB-INF/web.xml (added)
+++ wookie/trunk/wookie-services/wookie-jpa/src/main/webapp/WEB-INF/web.xml Wed Feb 5 12:58:56 2014
@@ -0,0 +1,30 @@
+<?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.
+-->
+<web-app id="WebApp_ID" version="2.4"
+ xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <resource-ref>
+ <description>The JPA database connection.</description>
+ <res-ref-name>jdbc/widgetdb</res-ref-name>
+ <res-type>javax.sql.DataSource</res-type>
+ <res-auth>Container</res-auth>
+ <res-sharing-scope>Shareable</res-sharing-scope>
+ </resource-ref>
+</web-app>
\ No newline at end of file