Re: Runtime Error: how to find cayenne.xml

From: Holger Hoffstätte (holge..izards.de)
Date: Thu Mar 06 2003 - 05:48:13 EST

  • Next message: John Poole: "RE: Runtime Error: how to find cayenne.xml"

    Dave Paules wrote:
    > Hi Holger!
    > You've solved the problem when the *.xml and PackageConfiguration files are
    > not in a jar. :) Great work.
    >
    > However, once I put the entire database/ folder (and all its nested classes
    > and files) in a jar, I got right back to the error:
    > Domain configuration file "cayenne.xml" is not found.

    Take this, you evil bug reporter! :)
    Introducing the idea of a resource path by using File.separator was a good
    idea gone wrong, since it needs to be '/' for JAR file loading. duh!

    Holger






    This archive was generated by hypermail 2.0.0 : Thu Mar 06 2003 - 05:51:40 EST