Hi Everyone
I have a command line app that initiates ServerRuntime econfigContext =
new ServerRuntime("conf/cayenne-UntitledDomain.xml") from my main apps
constructor. The cayenne-UntitledDomain.xml is referenced from my
main/src/resources/conf directory.
The problem is if I move this file out of the location to
"c:/configs/cayenne-UntitledDomain.xml" I get a
org.apache.cayenne.configuration.server.DataDomainLoadException .
Because this file loaded at runtime it cayenne cannot find it anywhere
else but from main/src/resources/ path. I need to make this xml
accessible so that users can change the jdbc connection settings ?
Why does c:/configs/cayenne-UntitledDomain.xml throw an exception ?
Many thanks