tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1414869 - /openejb/trunk/openejb/arquillian/arquillian-openejb-embedded-4/src/main/java/org/apache/openejb/arquillian/openejb/OpenEJBArchiveProcessor.java
Date Wed, 28 Nov 2012 19:06:16 GMT
Author: rmannibucau
Date: Wed Nov 28 19:06:15 2012
New Revision: 1414869

URL: http://svn.apache.org/viewvc?rev=1414869&view=rev
Log:
avoiding any network resolution for our virtual jar used to add virtually resources in arquillian
embedded adapter

Modified:
    openejb/trunk/openejb/arquillian/arquillian-openejb-embedded-4/src/main/java/org/apache/openejb/arquillian/openejb/OpenEJBArchiveProcessor.java

Modified: openejb/trunk/openejb/arquillian/arquillian-openejb-embedded-4/src/main/java/org/apache/openejb/arquillian/openejb/OpenEJBArchiveProcessor.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/arquillian/arquillian-openejb-embedded-4/src/main/java/org/apache/openejb/arquillian/openejb/OpenEJBArchiveProcessor.java?rev=1414869&r1=1414868&r2=1414869&view=diff
==============================================================================
--- openejb/trunk/openejb/arquillian/arquillian-openejb-embedded-4/src/main/java/org/apache/openejb/arquillian/openejb/OpenEJBArchiveProcessor.java
(original)
+++ openejb/trunk/openejb/arquillian/arquillian-openejb-embedded-4/src/main/java/org/apache/openejb/arquillian/openejb/OpenEJBArchiveProcessor.java
Wed Nov 28 19:06:15 2012
@@ -281,7 +281,8 @@ public class OpenEJBArchiveProcessor {
             }
             // look org.apache.openejb.config.AnnotationDeployer.DiscoverAnnotatedBeans.hasBeansXml()
             try {
-                classesByUrl.put(new URL("file://foo.jar!/WEB-INF/classes/"), mainClasses);
+                final URL key = new URL("jar:file://foo.jar!/WEB-INF/classes/");
+                classesByUrl.put(key, mainClasses);
             } catch (MalformedURLException mue) {
                 // no-op
             }



Mime
View raw message