Andrus Adamchik wrote:
> There's nothing magic about the default names, except for "cayenne.xml".
> The only requirement is that *.map.xml and *.driver.xml are named after
> the DataMap and DataNode names entered in the Modeler (and in fact
> CayenneModeler ensures that the generated names of those files match the
> mapping). If you didn't rename them by hand, I can't see why it didn't
> work.
> 
> Andrus
> 
> 
> On Apr 6, 2007, at 11:25 PM, Reid Thompson wrote:
>> Mike Kienenberger wrote:
>>> Try putting them in the root of your classpath.
>>>
>>> It's possible to put them in other locations, but you'd have to have
>>> set up a Configuration instance pointing to the new location.
>>>
>>> I don't know where the example expects to find it.
>> Ok - not sure what the actual issue was, but, reverting in the modeler
>> DataDomain Name to UntitledDomain, DataMap Name to UntitledDomainMap
>> and DataNode Name to UntitledDomainNode allows the xml files to be
>> found when they are placed in WEB-INF.  I couldn't get them found in
>> any location that I tried with my non-default names.
> 
Names were not changed by hand.  At some point I might go back and see
if I can duplicate the issue.  Right now I'm just going to move ahead on
the assumption that I did something, somewhere that caused the issue.

Thanks,
reid

Reply via email to