You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2010/06/23 14:50:08 UTC

svn commit: r957177 - /ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java

Author: vanto
Date: Wed Jun 23 12:50:07 2010
New Revision: 957177

URL: http://svn.apache.org/viewvc?rev=957177&view=rev
Log:
fixing ODE-856.

Modified:
    ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java

Modified: ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java
URL: http://svn.apache.org/viewvc/ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java?rev=957177&r1=957176&r2=957177&view=diff
==============================================================================
--- ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java (original)
+++ ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java Wed Jun 23 12:50:07 2010
@@ -213,11 +213,11 @@ public class DeploymentBrowser {
                                         out.write("<process><pid>"+pid+"</pid>");
                                         for (final File file : files) {
                                             if (file.getPath().endsWith(".wsdl")) {
-                                                String relativePath = file.getPath().substring(_store.getDeployDir().getCanonicalPath().length() + 1);
+                                                String relativePath = file.getPath().substring(_store.getDeployDir().getCanonicalPath().length() + 1).replace(File.separatorChar, '/');
                                                 out.write("<wsdl>"+ relativePath + "</wsdl>");
                                             }
                                             if (file.getPath().endsWith(".bpel")) {
-                                                String relativePath = file.getPath().substring(_store.getDeployDir().getCanonicalPath().length() + 1);
+                                                String relativePath = file.getPath().substring(_store.getDeployDir().getCanonicalPath().length() + 1).replace(File.separatorChar, '/');
                                                 out.write("<bpel>"+ relativePath + "</bpel>");
                                             }