cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: error finding node.xml in jar-file
Date Wed, 19 Sep 2007 09:02:19 GMT



On Sep 18, 2007, at 8:21 AM, Jens Mayer wrote:

> The cayenne.xml and SharedNode.driver.xml are found, but  
> DCNode.driver.xml cannnot be located in the jar-file, because in  
> that case the "jar:file:...."-Prefix isn't used by the  
> ResourceLocator.

Actually "jar:file:..." prefix is added to the URL by Java runtime,  
so that's not something ResourceLocator needs to specify explicitly.  
So is the DCNode.driver.xml file in the same jar as cayenne.xml, or  
more generally, is the jar that contains this file included in teh  
app classpath?

Andrus

Mime
View raw message