cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Øyvind Harboe <oyvind.har...@zylin.com>
Subject How to load 3.0 cayenne.xml in 3.1?
Date Fri, 21 Jan 2011 20:16:11 GMT
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 != 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 = new ServerRuntime("cayenne.xml");

=>

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
<domains> is unexpected at [32,2]. The following tags are allowed
here: [domain]


I get a bit further, if I manuall strip '<domains project-version="3.0">', but
that seems wrong.

-- 
Øyvind 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

Mime
View raw message