Repository: wicket
Updated Branches:
  refs/heads/master f569ea575 -> 548bcbe66


WICKET-5915 The application can not find /META-INF/wicket/**.properties on 
Windows systems

s/pathSeparatorChar/separatorChar/


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/548bcbe6
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/548bcbe6
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/548bcbe6

Branch: refs/heads/master
Commit: 548bcbe66fb0ffd7661c3ff78ba4b747aaa51c1b
Parents: f569ea5
Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Authored: Wed May 27 12:46:48 2015 +0300
Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Committed: Wed May 27 12:46:48 2015 +0300

----------------------------------------------------------------------
 wicket-core/src/main/java/org/apache/wicket/Application.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/548bcbe6/wicket-core/src/main/java/org/apache/wicket/Application.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/Application.java 
b/wicket-core/src/main/java/org/apache/wicket/Application.java
index a01f153..056d4ae 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Application.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Application.java
@@ -169,7 +169,10 @@ public abstract class Application implements 
UnboundListener, IEventSink
 
        private static final String PROPERTIES_FILE_EXTENSION = ".properties";
 
-       private static final String META_INF_WICKET_PATH = 
File.pathSeparatorChar + "META-INF" + File.pathSeparatorChar + "wicket" + 
File.pathSeparatorChar;
+       /**
+        * The path to look for Wicket specific properties file(s)
+        */
+       private static final String META_INF_WICKET_PATH = File.separatorChar+ 
"META-INF" + File.separatorChar + "wicket" + File.separatorChar;
 
        /** root mapper */
        private IRequestMapper rootRequestMapper;

Reply via email to