|
From: <exo...@us...> - 2006-10-04 01:43:08
|
Revision: 2559
http://svn.sourceforge.net/ccnet/?rev=2559&view=rev
Author: exortech
Date: 2006-10-01 21:04:05 -0700 (Sun, 01 Oct 2006)
Log Message:
-----------
in webdashboard, starting a stopped project was forcing a build -- this has now been fixed.
Modified Paths:
--------------
trunk/project/WebDashboard/Dashboard/VelocityProjectGridAction.cs
Modified: trunk/project/WebDashboard/Dashboard/VelocityProjectGridAction.cs
===================================================================
--- trunk/project/WebDashboard/Dashboard/VelocityProjectGridAction.cs 2006-10-02 04:02:47 UTC (rev 2558)
+++ trunk/project/WebDashboard/Dashboard/VelocityProjectGridAction.cs 2006-10-02 04:04:05 UTC (rev 2559)
@@ -105,6 +105,11 @@
farmService.Stop(ProjectSpecifier(request));
return string.Format("Stopping project {0}", SelectedProject(request));
}
+ else if (request.FindParameterStartingWith("StartBuild") != string.Empty)
+ {
+ farmService.Start(ProjectSpecifier(request));
+ return string.Format("Starting project {0}", SelectedProject(request));
+ }
else if (request.FindParameterStartingWith("forcebuild") != string.Empty)
{
farmService.ForceBuild(ProjectSpecifier(request));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|