Skip to content

Commit

Permalink
MONDRIAN: move mondrian.properties to WEB-INF directory (ServletContext)
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 2987]
  • Loading branch information
hhaas committed Dec 22, 2004
1 parent b5683a2 commit e8ed7fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/mondrian/olap/MondrianProperties.java
Expand Up @@ -84,10 +84,10 @@ else if (populateCount == 0) {
file.getAbsolutePath() + "' not found");
}
*/
// If we're in a servlet, read "mondrian.properties" from JAR file.
// If we're in a servlet, read "mondrian.properties" from WEB-INF directory.
if (servletContext != null) {
try {
final URL resourceUrl = servletContext.getResource("/" + mondrianDotProperties);
final URL resourceUrl = servletContext.getResource("/WEB-INF/" + mondrianDotProperties);
if (resourceUrl != null) {
load(resourceUrl);
}
Expand Down

0 comments on commit e8ed7fa

Please sign in to comment.