continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r447807 - in /maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors: PerformReleaseTaskExecutor.java PrepareReleaseTaskExecutor.java
Date Tue, 19 Sep 2006 10:47:23 GMT
Author: carlos
Date: Tue Sep 19 03:47:23 2006
New Revision: 447807

URL: http://svn.apache.org/viewvc?view=rev&rev=447807
Log:
Show errors after exceptions

Modified:
    maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java
    maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PrepareReleaseTaskExecutor.java

Modified: maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java?view=diff&rev=447807&r1=447806&r2=447807
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PerformReleaseTaskExecutor.java
Tue Sep 19 03:47:23 2006
@@ -69,9 +69,9 @@
 
         if ( result.getResultCode() == ReleaseResult.SUCCESS )
         {
-            continuumReleaseManager.getReleaseResults().put( performTask.getReleaseId(),
result );
-
             continuumReleaseManager.getPreparedReleases().remove( performTask.getReleaseId()
);
         }
+
+        continuumReleaseManager.getReleaseResults().put( performTask.getReleaseId(), result
);
     }
 }

Modified: maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PrepareReleaseTaskExecutor.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PrepareReleaseTaskExecutor.java?view=diff&rev=447807&r1=447806&r2=447807
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PrepareReleaseTaskExecutor.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-release/src/main/java/org/apache/maven/continuum/release/executors/PrepareReleaseTaskExecutor.java
Tue Sep 19 03:47:23 2006
@@ -83,9 +83,9 @@
 
         if ( result.getResultCode() == ReleaseResult.SUCCESS )
         {
-            continuumReleaseManager.getReleaseResults().put( prepareTask.getReleaseId(),
result );
-
             continuumReleaseManager.getPreparedReleases().put( prepareTask.getReleaseId(),
descriptor );
         }
+
+        continuumReleaseManager.getReleaseResults().put( prepareTask.getReleaseId(), result
);
     }
 }



Mime
View raw message