openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1070953 - /openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
Date Tue, 15 Feb 2011 16:15:01 GMT
Author: gpetracek
Date: Tue Feb 15 16:15:00 2011
New Revision: 1070953

URL: http://svn.apache.org/viewvc?rev=1070953&view=rev
Log:
partial revert of r1070285 due to an incompatibility with other servers

Modified:
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java?rev=1070953&r1=1070952&r2=1070953&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
Tue Feb 15 16:15:00 2011
@@ -111,10 +111,10 @@ public class WebScannerService extends A
                 {
                     fileDir = fileDir.substring(0, fileDir.lastIndexOf("/")) + "/META-INF/beans.xml";
 
-                    //fix for weblogic and solaris
-                    if (!fileDir.startsWith("file:///"))
+                    //fix for weblogic
+                    if (!fileDir.startsWith("file:/"))
                     {
-                        fileDir = "file:///" + fileDir;
+                        fileDir = "file:/" + fileDir;
                         //TODO switch to a more stable approach
                         //url = new URL("jar:" + fileDir);
                     }



Mime
View raw message