You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mr...@apache.org on 2007/07/26 02:34:21 UTC

svn commit: r559661 - /incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java

Author: mriou
Date: Wed Jul 25 17:34:20 2007
New Revision: 559661

URL: http://svn.apache.org/viewvc?view=rev&rev=559661
Log:
4 backslashes for a slash, that's the price

Modified:
    incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java

Modified: incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java?view=diff&rev=559661&r1=559660&r2=559661
==============================================================================
--- incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java (original)
+++ incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java Wed Jul 25 17:34:20 2007
@@ -184,7 +184,7 @@
         if (cbpInfo == null)
             throw new ContextException("CBP record not found for type " + getType());
         try {
-            String relative = getRelativePath(_du.getDeployDir(), cbpInfo.cbp);
+            String relative = getRelativePath(_du.getDeployDir(), cbpInfo.cbp).replaceAll("\\\\", "/");
             if (!relative.endsWith(".cbp")) throw new ContextException("CBP file must end with .cbp suffix: " + cbpInfo.cbp);
             relative = relative.replace(".cbp", ".bpel");
             File bpelFile = new File(_du.getDeployDir(), relative);