continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r312625 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Mon, 10 Oct 2005 11:42:23 GMT
Author: evenisse
Date: Mon Oct 10 04:42:20 2005
New Revision: 312625

URL: http://svn.apache.org/viewcvs?rev=312625&view=rev
Log:
Remove working directory before database record

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=312625&r1=312624&r2=312625&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Mon Oct 10 04:42:20 2005
@@ -195,11 +195,11 @@
     {
         try
         {
-            store.removeProject( store.getProject( projectId ) );
-
             File workingDirectory = getWorkingDirectory( projectId );
 
             FileUtils.deleteDirectory( workingDirectory );
+
+            store.removeProject( store.getProject( projectId ) );
         }
         catch ( ContinuumStoreException ex )
         {



Mime
View raw message