continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r359872 - in /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action: AddBuildDefinitionAction.java DeleteBuildDefinitionAction.java
Date Thu, 29 Dec 2005 18:52:46 GMT
Author: evenisse
Date: Thu Dec 29 10:52:43 2005
New Revision: 359872

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

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddBuildDefinitionAction.java
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteBuildDefinitionAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddBuildDefinitionAction.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddBuildDefinitionAction.java?rev=359872&r1=359871&r2=359872&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddBuildDefinitionAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddBuildDefinitionAction.java
Thu Dec 29 10:52:43 2005
@@ -65,38 +65,6 @@
     {
         try
         {
-            BuildDefinition bd = new BuildDefinition();
-
-            bd.setGoals( goals );
-
-            bd.setBuildFile( buildFile );
-
-            bd.setArguments( arguments );
-
-            bd.setDefaultForProject( defaultForProject );
-
-            Schedule schedule = continuum.getSchedule( scheduleId );
-
-            bd.setSchedule( schedule );
-
-            continuum.addBuildDefinition( projectId, bd );
-        }
-        catch ( ContinuumException e )
-        {
-            addActionMessage( "Can't update build definition (id=" + buildDefinitionId +
") for project " + projectId + " : " + e.getMessage() );
-
-            e.printStackTrace();
-
-            return ERROR;
-        }
-
-        return SUCCESS;
-    }
-
-    public String doDefault()
-    {
-        try
-        {
             project = continuum.getProject( projectId );
         }
         catch ( ContinuumException e )

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteBuildDefinitionAction.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteBuildDefinitionAction.java?rev=359872&r1=359871&r2=359872&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteBuildDefinitionAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteBuildDefinitionAction.java
Thu Dec 29 10:52:43 2005
@@ -42,7 +42,7 @@
         }
         catch ( ContinuumException e )
         {
-            addActionMessage( "Can't delete build definition (id=" + projectId + ") for project
" + projectId + " : " + e.getMessage() );
+            addActionMessage( "Can't delete build definition (id=" + buildDefinitionId +
") for project " + projectId + " : " + e.getMessage() );
 
             e.printStackTrace();
 



Mime
View raw message