Return-Path: X-Original-To: apmail-cayenne-commits-archive@www.apache.org Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA2B57431 for ; Wed, 28 Sep 2011 15:25:36 +0000 (UTC) Received: (qmail 93072 invoked by uid 500); 28 Sep 2011 15:25:36 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 93046 invoked by uid 500); 28 Sep 2011 15:25:36 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 93039 invoked by uid 99); 28 Sep 2011 15:25:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 15:25:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 15:25:33 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 310092388994 for ; Wed, 28 Sep 2011 15:25:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1176918 - in /cayenne/main/trunk/tutorials/tutorial/src/main: java/org/apache/cayenne/tutorial/Main.java resources/UntitledDomainMap.map.xml resources/cayenne-UntitledDomain.xml resources/cayenne-project.xml resources/datamap.map.xml Date: Wed, 28 Sep 2011 15:25:12 -0000 To: commits@cayenne.apache.org From: dkazimirchyk@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20110928152512.310092388994@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkazimirchyk Date: Wed Sep 28 15:25:11 2011 New Revision: 1176918 URL: http://svn.apache.org/viewvc?rev=1176918&view=rev Log: tutorial correction to correspond 3.1 changes Added: cayenne/main/trunk/tutorials/tutorial/src/main/resources/cayenne-project.xml cayenne/main/trunk/tutorials/tutorial/src/main/resources/datamap.map.xml Removed: cayenne/main/trunk/tutorials/tutorial/src/main/resources/UntitledDomainMap.map.xml cayenne/main/trunk/tutorials/tutorial/src/main/resources/cayenne-UntitledDomain.xml Modified: cayenne/main/trunk/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java Modified: cayenne/main/trunk/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java?rev=1176918&r1=1176917&r2=1176918&view=diff ============================================================================== --- cayenne/main/trunk/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java (original) +++ cayenne/main/trunk/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java Wed Sep 28 15:25:11 2011 @@ -39,7 +39,7 @@ public class Main { // starting Cayenne ServerRuntime cayenneRuntime = new ServerRuntime( - "cayenne-UntitledDomain.xml"); + "cayenne-project.xml"); // getting a hold of ObjectContext ObjectContext context = cayenneRuntime.getContext(); Added: cayenne/main/trunk/tutorials/tutorial/src/main/resources/cayenne-project.xml URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial/src/main/resources/cayenne-project.xml?rev=1176918&view=auto ============================================================================== --- cayenne/main/trunk/tutorials/tutorial/src/main/resources/cayenne-project.xml (added) +++ cayenne/main/trunk/tutorials/tutorial/src/main/resources/cayenne-project.xml Wed Sep 28 15:25:11 2011 @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + Added: cayenne/main/trunk/tutorials/tutorial/src/main/resources/datamap.map.xml URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial/src/main/resources/datamap.map.xml?rev=1176918&view=auto ============================================================================== --- cayenne/main/trunk/tutorials/tutorial/src/main/resources/datamap.map.xml (added) +++ cayenne/main/trunk/tutorials/tutorial/src/main/resources/datamap.map.xml Wed Sep 28 15:25:11 2011 @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +