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) {


Reply via email to