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/12/02 20:03:03 UTC
svn commit: r1041534 -
/ode/branches/ode-1.3.5.x/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java
Author: vanto
Date: Thu Dec 2 19:03:03 2010
New Revision: 1041534
URL: http://svn.apache.org/viewvc?rev=1041534&view=rev
Log:
fixing ODE-856.
Modified:
ode/branches/ode-1.3.5.x/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java
Modified: ode/branches/ode-1.3.5.x/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java
URL: http://svn.apache.org/viewvc/ode/branches/ode-1.3.5.x/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java?rev=1041534&r1=1041533&r2=1041534&view=diff
==============================================================================
--- ode/branches/ode-1.3.5.x/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java (original)
+++ ode/branches/ode-1.3.5.x/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java Thu Dec 2 19:03:03 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>");
}