Author: rmannibucau
Date: Tue Jun 3 21:22:54 2014
New Revision: 1599800
URL: http://svn.apache.org/r1599800
Log:
rooturl shouldn't starts with file:
Modified:
tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java
Modified:
tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java
URL:
http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java?rev=1599800&r1=1599799&r2=1599800&view=diff
==============================================================================
---
tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java
(original)
+++
tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java
Tue Jun 3 21:22:54 2014
@@ -165,6 +165,9 @@ public class ReadDescriptors implements
if (tmpRootUrl.endsWith(".war")) {
tmpRootUrl = tmpRootUrl.substring(0,
tmpRootUrl.length() - ".war".length());
}
+ if (tmpRootUrl.startsWith("file:")) {
+ tmpRootUrl = tmpRootUrl.substring("file:".length());
+ }
rootUrl = tmpRootUrl;
} else {
moduleName = "";