From: <lig...@us...> - 2007-10-31 06:54:52
|
Revision: 3684 http://cruisecontrol.svn.sourceforge.net/cruisecontrol/?rev=3684&view=rev Author: liguanglei Date: 2007-10-30 23:53:13 -0700 (Tue, 30 Oct 2007) Log Message: ----------- [GaoLi]Fixed the build and modified the display of time reporting Modified Paths: -------------- branches/cce/cruisecontrol/reporting/dashboard/src/net/sourceforge/cruisecontrol/dashboard/service/BuildService.java branches/cce/cruisecontrol/reporting/dashboard/src/net/sourceforge/cruisecontrol/dashboard/utils/TimeConverter.java Modified: branches/cce/cruisecontrol/reporting/dashboard/src/net/sourceforge/cruisecontrol/dashboard/service/BuildService.java =================================================================== --- branches/cce/cruisecontrol/reporting/dashboard/src/net/sourceforge/cruisecontrol/dashboard/service/BuildService.java 2007-10-31 04:11:31 UTC (rev 3683) +++ branches/cce/cruisecontrol/reporting/dashboard/src/net/sourceforge/cruisecontrol/dashboard/service/BuildService.java 2007-10-31 06:53:13 UTC (rev 3684) @@ -48,7 +48,6 @@ import net.sourceforge.cruisecontrol.dashboard.Build; import net.sourceforge.cruisecontrol.dashboard.BuildDetail; -import net.sourceforge.cruisecontrol.dashboard.ProjectBuildStatus; import net.sourceforge.cruisecontrol.dashboard.LogFile; import net.sourceforge.cruisecontrol.dashboard.BuildLiveDetail; import net.sourceforge.cruisecontrol.dashboard.exception.ShouldStopParsingException; @@ -58,11 +57,9 @@ import net.sourceforge.cruisecontrol.dashboard.saxhandler.ModificationExtractor; import net.sourceforge.cruisecontrol.dashboard.saxhandler.StackTraceExtractor; import net.sourceforge.cruisecontrol.dashboard.saxhandler.TestSuiteExtractor; -import net.sourceforge.cruisecontrol.dashboard.utils.CCDateFormatter; import net.sourceforge.cruisecontrol.dashboard.utils.functors.BuildSummariesFilters; import org.apache.log4j.Logger; -import org.joda.time.DateTime; public class BuildService { private static final Logger LOGGER = Logger.getLogger(BuildService.class); Modified: branches/cce/cruisecontrol/reporting/dashboard/src/net/sourceforge/cruisecontrol/dashboard/utils/TimeConverter.java =================================================================== --- branches/cce/cruisecontrol/reporting/dashboard/src/net/sourceforge/cruisecontrol/dashboard/utils/TimeConverter.java 2007-10-31 04:11:31 UTC (rev 3683) +++ branches/cce/cruisecontrol/reporting/dashboard/src/net/sourceforge/cruisecontrol/dashboard/utils/TimeConverter.java 2007-10-31 06:53:13 UTC (rev 3684) @@ -37,7 +37,7 @@ static final String ABOUT_1_HOUR = "about 1 hour ago"; - static final String FROM_2_TO_44_MINUTES = "$time minutes ago"; + static final String FROM_2_TO_44_MINUTES = "about $time minutes ago"; static final String FROM_1_MINUTE = "1 minute ago"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |