imports from properties (and LDAP configuration)

Cantor, Scott cantor.2 at osu.edu
Sat Oct 11 13:45:28 EDT 2014


On 10/11/14, 6:56 AM, "Rod Widdowson" <rdw at steadingsoftware.com> wrote:

>I did a quick nature study.
>
>- It is impossible to drive imports from a property file.  This is because
>"Imports are resolved before bean (property-placeholder) creation".

Not surprised.

>- It is possible to drive imports from a system property (and you use the
>${} syntax, not the %{} syntax).  Although I could see making this work
>for
>a windows jetty install it doesn't feel right.

I don't think so, it's confusing and at odds with the syntax we have to
use everywhere else.

>- There are, of course, other ways of driving this, but I'd defer to
>Daniel
>for that and, as I said yesterday, I'd sooner do nothing in V3.0.0 rather
>than hack up a solution in a hurry which we then become doomed to support
>until 4.0

Agreed. One option *might* be something with bean profiles.

-- Scott



More information about the dev mailing list