Re: Runtime Error: how to find cayenne.xml

From: Holger Hoffstätte (holge..izards.de)
Date: Mon Feb 24 2003 - 22:29:47 EST

  • Next message: Holger Hoffstätte: "Re: Runtime Error: how to find cayenne.xml"

    Paul,

    some more info on your problem with packaged config files. It _should_
    work but currently does not - I verified - and it's not really Cayenne's
    fault. ClassLoader.getResource() does not look inside packages and will
    only find files at the root of classpath entries, unless the resource is
    specified with a path and that's something we currently can't do. There
    are ways around that (I just implemented a nifty solution that does 99% of
    what you want) but one obscure problem remains, so for the time being I
    recommend you put the config files where they work.

    regards
    Holger



    This archive was generated by hypermail 2.0.0 : Mon Feb 24 2003 - 22:32:41 EST