cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <>
Subject 3.1M2 Modeler and default domain when bootstrapping
Date Tue, 12 Apr 2011 16:05:52 GMT

I just upgraded from 3.0 with the modeler.

The new Cayenne looks very promising - thanks for the work so far!

However a few comments.

The default behaviour for the property configuration is to look for
CayenneFilter.xml, if running with a web filter.
But does this name make sense? It should contain a domain
configuration. And these files should be named like
cayenne-DomainName.xml, otherwise the Modeler will not open it. If one
opens it with the CayenneFilter.xml name, you'll get serious problems

Since you are forced to set a name via
-Dcayenne.config.location=cayenne-YouDomain.xml or with new
wouldn't it be better to get rid of the default CayenneFilter and
throw an exception instead?


View raw message