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

svn commit: r505485 - in /incubator/ode/trunk/bpel-store: ./ src/main/java/org/apache/ode/store/ProcessStoreImpl.java

Author: mszefler
Date: Fri Feb  9 12:37:11 2007
New Revision: 505485

URL: http://svn.apache.org/viewvc?view=rev&rev=505485
Log: (empty)

Modified:
    incubator/ode/trunk/bpel-store/   (props changed)
    incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java

Propchange: incubator/ode/trunk/bpel-store/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Feb  9 12:37:11 2007
@@ -2,3 +2,5 @@
 .classpath
 
 .project
+
+target

Modified: incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java?view=diff&rev=505485&r1=505484&r2=505485
==============================================================================
--- incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java (original)
+++ incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java Fri Feb  9 12:37:11 2007
@@ -226,10 +226,7 @@
 
                 dudao = conn.createDeploymentUnit(du.getName());
                 try {
-                    if (_deployDir == null)
-                        dudao.setDeploymentUnitDir(deploymentUnitDirectory.getCanonicalPath());
-                    else
-                        dudao.setDeploymentUnitDir(deploymentUnitDirectory.getName());
+                    dudao.setDeploymentUnitDir(deploymentUnitDirectory.getCanonicalPath());
                 } catch (IOException e1) {
                     String errmsg = "Error getting canonical path for " + du.getName()
                             + "; deployment unit will not be available after restart!";
@@ -568,8 +565,7 @@
         __log.debug("Loading deployment unit record from db: " + dudao.getName());
 
         File dudir;
-        if (_deployDir == null) dudir = new File(dudao.getDeploymentUnitDir());
-        else dudir = new File(_deployDir, dudao.getDeploymentUnitDir());
+        dudir = new File(dudao.getDeploymentUnitDir());
 
         if (!dudir.exists())
             throw new ContextException("Deployed directory " + dudir + " no longer there!");