Author: jim.ma
Date: 2009-11-16 22:03:51 -0500 (Mon, 16 Nov 2009)
New Revision: 11121
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java
Log:
[JBWS-2829]:Replace the 'http://' with 'http-' to make Windows happy
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java 2009-11-16
08:51:28 UTC (rev 11120)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java 2009-11-17
03:03:51 UTC (rev 11121)
@@ -338,6 +338,11 @@
File locationFile = null;
if (predefinedLocation == false)
{
+ //JBWS-2829: windows issue
+ if (archiveName.startsWith("http://")) {
+ archiveName = archiveName.replace("http://", "http-");
+ }
+
locationFile = new File(serverConfig.getServerDataDir().getCanonicalPath() +
"/wsdl/" + archiveName);
}
else
Show replies by date