axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r718571 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/ClassFinderImpl.java
Date Tue, 18 Nov 2008 13:17:41 GMT
Author: dims
Date: Tue Nov 18 05:17:41 2008
New Revision: 718571

URL: http://svn.apache.org/viewvc?rev=718571&view=rev
Log:
Fix for AXIS2-4134 - JAXWS has problems finding JAXB classes when the application jar file
resides in a Windows directory containing spaces from Lizet Ernand

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/ClassFinderImpl.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/ClassFinderImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/ClassFinderImpl.java?rev=718571&r1=718570&r2=718571&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/ClassFinderImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/ClassFinderImpl.java
Tue Nov 18 05:17:41 2008
@@ -56,7 +56,7 @@
             //Read resources as URL from class loader.
             for (URL url : srcURL) {
                 if ("file".equals(url.getProtocol())) {
-                    File f = new File(url.getPath());
+                    File f = new File(url.toURI().getPath()); 
                     //If file is not of type directory then its a jar file
                     if (f.exists() && !f.isDirectory()) {
                         try {



Mime
View raw message