Repository: wicket
Updated Branches:
  refs/heads/master 273902166 -> 6b2a65b0f


WICKET-5713 Move /wicket.properties to /META-INF/wicket/xyz.properties

Add a check for scheme "wsjar" used by WebSphere.
borrowed-from: https://github.com/ronmamo/reflections/pull/46/files


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

Branch: refs/heads/master
Commit: 6b2a65b0f62ab8cb11aeabdb2bd4c551f7433268
Parents: 2739021
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Tue Nov 11 15:09:53 2014 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Tue Nov 11 15:09:53 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/wicket/blob/6b2a65b0/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 e592715..e6532d2 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Application.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Application.java
@@ -494,7 +494,7 @@ public abstract class Application implements 
UnboundListener, IEventSink
                        URL metaInfWicket = wicketResources.next();
                        String protocol = metaInfWicket.getProtocol();
 
-                       if ("jar".equals(protocol))
+                       if ("jar".equals(protocol) || "wsjar".equals(protocol))
                        {
                                JarURLConnection jarURLConnection = 
(JarURLConnection) metaInfWicket.openConnection();
                                JarFile jarFile = jarURLConnection.getJarFile();

Reply via email to