You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2010/07/07 06:14:24 UTC
svn commit: r961180 -
/activemq/sandbox/activemq-apollo-actor/activemq-broker/src/test/scala/org/apache/activemq/apollo/broker/perf/BrokerPerfSupport.scala
Author: chirino
Date: Wed Jul 7 04:14:23 2010
New Revision: 961180
URL: http://svn.apache.org/viewvc?rev=961180&view=rev
Log:
backup the previous report if it can't be parsed.
Modified:
activemq/sandbox/activemq-apollo-actor/activemq-broker/src/test/scala/org/apache/activemq/apollo/broker/perf/BrokerPerfSupport.scala
Modified: activemq/sandbox/activemq-apollo-actor/activemq-broker/src/test/scala/org/apache/activemq/apollo/broker/perf/BrokerPerfSupport.scala
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/activemq-broker/src/test/scala/org/apache/activemq/apollo/broker/perf/BrokerPerfSupport.scala?rev=961180&r1=961179&r2=961180&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/activemq-broker/src/test/scala/org/apache/activemq/apollo/broker/perf/BrokerPerfSupport.scala (original)
+++ activemq/sandbox/activemq-apollo-actor/activemq-broker/src/test/scala/org/apache/activemq/apollo/broker/perf/BrokerPerfSupport.scala Wed Jul 7 04:14:23 2010
@@ -132,6 +132,9 @@ abstract class BrokerPerfSupport extends
report_data = data.stripLineEnd
case _ =>
println("could not parse existing report file: "+htmlFile)
+ val backup: File = new File(htmlFile.getParentFile, htmlFile.getName + ".bak")
+ println("backing up to: "+backup)
+ IOHelper.copyFile(htmlFile, backup )
}
}