Bryan Lewis wrote:
> DefaultConfiguration(filename)" instead of FileConfiguration. According to
> the javadocs, the DefaultConfiguration searches the classpath, while
It sure does..
> FileConfiguration doesn't. (It's not clear to me how the FileConfiguration
> actually finds the file... it "ignores any other lookup strategies" and the
> filename " must not contain relative or absolute paths".) Using the
Right. Use one of the FileConfiguraton.addFilesystemPath() methods to add
search paths; these will be searched for the given filename in the same
order as they were added.
> The error message is probably misleading you. Looking at the source code, I
> see that the error message always says "cayenne.xml" regardless of what
> filename you gave it. It's probably trying to say that it can't find your
> file.
/me sheepishly looks the other way :)
-h
This archive was generated by hypermail 2.0.0 : Mon Apr 11 2005 - 19:13:14 EDT