Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 3434 invoked from network); 21 Jan 2011 20:16:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2011 20:16:41 -0000 Received: (qmail 72678 invoked by uid 500); 21 Jan 2011 20:16:41 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 72618 invoked by uid 500); 21 Jan 2011 20:16:40 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 72610 invoked by uid 500); 21 Jan 2011 20:16:40 -0000 Delivered-To: apmail-incubator-cayenne-user@incubator.apache.org Received: (qmail 72607 invoked by uid 99); 21 Jan 2011 20:16:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jan 2011 20:16:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.85.100.29] (HELO cpanel5.proisp.no) (209.85.100.29) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jan 2011 20:16:34 +0000 Received: from mail-ww0-f43.google.com ([74.125.82.43]:50127) by cpanel5.proisp.no with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.69) (envelope-from ) id 1PgNP3-0005Sc-6d for cayenne-user@incubator.apache.org; Fri, 21 Jan 2011 21:16:13 +0100 Received: by wwi17 with SMTP id 17so2308633wwi.0 for ; Fri, 21 Jan 2011 12:16:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.62.212 with SMTP id y62mr1233076wec.9.1295640971319; Fri, 21 Jan 2011 12:16:11 -0800 (PST) Received: by 10.216.28.210 with HTTP; Fri, 21 Jan 2011 12:16:11 -0800 (PST) Date: Fri, 21 Jan 2011 21:16:11 +0100 Message-ID: Subject: How to load 3.0 cayenne.xml in 3.1? From: =?UTF-8?Q?=C3=98yvind_Harboe?= To: cayenne-user@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel5.proisp.no X-AntiAbuse: Original Domain - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - zylin.com X-Source: X-Source-Args: X-Source-Dir: How do I load my cayenne.xml in 3.1? Can I convert a cayenne.xml from 3.0 to 3.1 format somehow? Is cayenne.xml !=3D cayenne-UntitledDomain.xml? Where does cayenne-UntitledDomain.xml come from? When I tried using the instructions I on the wikipages, I got an error message about the xml format not being correct. http://cayenne.apache.org/doc/guide-to-31-features.html http://cayenne.apache.org/doc/tutorial-objectcontext.html cayenneRuntime =3D new ServerRuntime("cayenne.xml"); =3D> org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - Loading XML configuration resource from file:/home/oyvind/workspace/qpbtapestry/context/WEB-INF/classes/cayenne.xml org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - tag is unexpected at [32,2]. The following tags are allowed here: [domain] I get a bit further, if I manuall strip ''= , but that seems wrong. --=20 =C3=98yvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer