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

svn commit: r506939 - /incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeServiceUnit.java

Author: gnodet
Date: Tue Feb 13 02:12:52 2007
New Revision: 506939

URL: http://svn.apache.org/viewvc?view=rev&rev=506939
Log:
No need to undeploy before deploying with the versioning scheme

Modified:
    incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeServiceUnit.java

Modified: incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeServiceUnit.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeServiceUnit.java?view=diff&rev=506939&r1=506938&r2=506939
==============================================================================
--- incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeServiceUnit.java (original)
+++ incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeServiceUnit.java Tue Feb 13 02:12:52 2007
@@ -58,14 +58,6 @@
     }
 
     public void deploy() throws DeploymentException {
-        
-        // Do a pre-emptive undeploy. 
-        try {
-            _ode._store.undeploy(_serviceUnitRootPath);
-        } catch (Exception ex) {
-            __log.debug("Undeploy failed.",ex);
-        }
-        
         try {
             _ode._store.deploy(_serviceUnitRootPath);
         } catch (Exception ex) {