Author: thomas.diesler(a)jboss.com
Date: 2007-01-05 17:31:58 -0500 (Fri, 05 Jan 2007)
New Revision: 1838
Modified:
trunk/jbossws-core/src/main/java/org/jboss/ws/core/server/UnifiedDeploymentInfo.java
Log:
Add a hack to handle URL protocol: vfsfile
Modified:
trunk/jbossws-core/src/main/java/org/jboss/ws/core/server/UnifiedDeploymentInfo.java
===================================================================
---
trunk/jbossws-core/src/main/java/org/jboss/ws/core/server/UnifiedDeploymentInfo.java 2007-01-05
22:00:45 UTC (rev 1837)
+++
trunk/jbossws-core/src/main/java/org/jboss/ws/core/server/UnifiedDeploymentInfo.java 2007-01-05
22:31:58 UTC (rev 1838)
@@ -95,6 +95,11 @@
catch (MalformedURLException ex)
{
String deploymentPath = url.toExternalForm();
+
+ // FIXME: remove this hack
+ if (deploymentPath.startsWith("vfsfile:"))
+ deploymentPath = "jar:" + deploymentPath.substring(3);
+
if (deploymentPath.startsWith("jar:") &&
deploymentPath.endsWith("!/") == false)
deploymentPath += "!/";
Show replies by date