cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r889957 [2/2] - in /cayenne/main/trunk/framework: ./ cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/configuration/ cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ cayenne-jdk1.5-unpublished/src/test/java/org/ap...
Date Sat, 12 Dec 2009 18:59:35 GMT
Added: cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/java/org/apache/cayenne/project2/mock/MockResource.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/java/org/apache/cayenne/project2/mock/MockResource.java?rev=889957&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/java/org/apache/cayenne/project2/mock/MockResource.java
(added)
+++ cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/java/org/apache/cayenne/project2/mock/MockResource.java
Sat Dec 12 18:59:33 2009
@@ -0,0 +1,35 @@
+/*****************************************************************
+ *   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.
+ ****************************************************************/
+package org.apache.cayenne.project2.mock;
+
+import java.net.URL;
+
+import org.apache.cayenne.resource.Resource;
+
+public class MockResource implements Resource {
+
+    public Resource getRelativeResource(String relativePath) {
+        return null;
+    }
+
+    public URL getURL() {
+        return null;
+    }
+
+}

Added: cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/cayenne-PROJECT1.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/cayenne-PROJECT1.xml?rev=889957&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/cayenne-PROJECT1.xml
(added)
+++ cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/cayenne-PROJECT1.xml
Sat Dec 12 18:59:33 2009
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<domain name="DefaultDomain" project-version="6">
+	<map name="testProjectMap1_1" location="testProjectMap1_1.map.xml" />
+	<map name="testProjectMap1_2" location="testProjectMap1_2.map.xml" />
+
+	<node name="testProjectNode1" datasource="testProjectNode1.driver.xml"
+		adapter="org.example.test.Adapter" factory="org.example.test.DataSourceFactory">
+		<map-ref name="testProjectMap1_1" />
+	</node>
+</domain>

Added: cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectMap1_1.map.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectMap1_1.map.xml?rev=889957&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectMap1_1.map.xml
(added)
+++ cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectMap1_1.map.xml
Sat Dec 12 18:59:33 2009
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<data-map xmlns="http://cayenne.apache.org/schema/3.0/modelMap"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://cayenne.apache.org/schema/3.0/modelMap http://cayenne.apache.org/schema/3.0/modelMap.xsd"
+	project-version="6">
+
+</data-map>

Added: cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectMap1_2.map.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectMap1_2.map.xml?rev=889957&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectMap1_2.map.xml
(added)
+++ cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectMap1_2.map.xml
Sat Dec 12 18:59:33 2009
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<data-map xmlns="http://cayenne.apache.org/schema/3.0/modelMap"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://cayenne.apache.org/schema/3.0/modelMap http://cayenne.apache.org/schema/3.0/modelMap.xsd"
+	project-version="6">
+
+</data-map>

Added: cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectNode1.driver.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectNode1.driver.xml?rev=889957&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectNode1.driver.xml
(added)
+++ cayenne/main/trunk/framework/cayenne-project-unpublished/src/test/resources/org/apache/cayenne/project2/testProjectNode1.driver.xml
Sat Dec 12 18:59:33 2009
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<driver project-version="6">
+	<connectionPool min="1" max="1"/>
+	<login/>
+</driver>

Modified: cayenne/main/trunk/framework/pom.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/pom.xml?rev=889957&r1=889956&r2=889957&view=diff
==============================================================================
--- cayenne/main/trunk/framework/pom.xml (original)
+++ cayenne/main/trunk/framework/pom.xml Sat Dec 12 18:59:33 2009
@@ -51,6 +51,7 @@
 				<module>cayenne-legal-unpublished</module>
 				<module>cayenne-di-unpublished</module>
 				<module>cayenne-jdk1.5-unpublished</module>
+				<module>cayenne-project-unpublished</module>
 				<module>cayenne-server</module>
 				<module>cayenne-client</module>
 				<module>cayenne-tools</module>
@@ -69,6 +70,7 @@
 				<module>cayenne-di-unpublished</module>
 				<module>cayenne-jdk1.5-unpublished</module>
 				<module>cayenne-jdk1.6-unpublished</module>
+				<module>cayenne-project-unpublished</module>
 				<module>cayenne-server</module>
 				<module>cayenne-client</module>
 				<module>cayenne-tools</module>



Mime
View raw message