Sakai uses a very similar approach and has very similar messages in
their logs. While uPortal could certainly do better, I don't think in
this case, it's anything to worry too much about. Especially when the
extremely simple fix is just to create an empty file for it to 'find' if
you're that concerned about clearing the log message out.
I think subclassing something from Spring will introduce more of a
maintenance task then it is worth. (e.g., if the next version of spring
adds a method to an interface, and suddenly the uportal class doesn't
compile)
---- Cris J H
On 01/23/2013 01:02 PM, Misagh Moayyed wrote:
Drew,
+1, this is very useful.
About the log entry, could we potentially circumvent the line by perhaps
writing a custom property configure that ignores the warning?
-Misagh
-----Original Message-----
From: [email protected] [mailto:bounce-26750363-
[email protected]] On Behalf Of Drew Wills
Sent: Wednesday, January 23, 2013 9:12 AM
To: [email protected]
Subject: [uportal-dev] Enhancement to place (optionally) some config
outside uPortal build/deploy process
Folks,
One of the ideas we discussed at the Unconference was an emphatic
suggestion from the SSP folks that uPortal should allow for placing
some configuration settings outside the uPortal webapp or outside
Tomcat altogether. This idea, furthermore, has come up before; I know
OHIO University brought it up when we were working with them.
I have a version of this enhancement working...
- https://gist.github.com/4608582
I would be delighted to:
- Whip up a JIRA
- Commit to master and rel-4-0-patches
- Update the uPortal Manual to document the use of this feature
There's one minor drawback I want to bring to light: the files are
100% optional but, as written, it puts the following in the log on
startup for each one that's not used...
WARN [main] o.s.c.s.PropertySourcesPlaceholderConfigurer 2013-01-23
08:41:54,293 - Could not load properties from URL
[file:/${PORTAL_HOME}/overrides.properties]:
\${PORTAL_HOME}\overrides.properties (The system cannot find the path
specified)
drew wills
--
You are currently subscribed to [email protected] as:
[email protected] To unsubscribe, change settings or access archives,
see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev