For now we have properties in:
    generated-spring.properties
and
    spring.properties

We have no per server properties. In our project we use also server
specific settings because every environment is different. For example
in tests you use another mail server than in production environemt ...
.
This should be implemented two ways:
a) Add "spring-${serverName}.properties" to PropertyConfigurer and
serverName have to be defined as startup parameter of java server via
-D option.
b) Add "${user.home}/.<PROJECTNAME>.properties"

Minuses:
- error is raised when property file doesn't exist
- error is raised when serverName isn't defined

Of course anybody can do this in more.xml or applicationContext.xml.
Should this be also useful for others in default setup?

Pavel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to