From e9f4dc44f1538874ef66b58ab4e67642b6499812 Mon Sep 17 00:00:00 2001
From: jeffliu <jeffliu>
Date: Wed, 11 May 2005 22:50:05 +0000
Subject: [PATCH] [93609] Performance: Need a way to verify that WTP plug-ins
 do not regress Eclipse platform performance

---
 .../src/org/eclipse/wtp/releng/tools/performance/Main.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java b/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java
index 5210070e6..852d23bbd 100644
--- a/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java
+++ b/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java
@@ -78,7 +78,11 @@ public class Main
       }
       if (buildType != null && buildId != null && date != null && time != null)
       {
-        BufferedWriter bw = new BufferedWriter(new FileWriter("label.properties"));
+        StringBuffer outputFile = new StringBuffer();
+        if (args.length > 0)
+          outputFile.append(args[0]);
+        outputFile.append("label.properties");
+        BufferedWriter bw = new BufferedWriter(new FileWriter(outputFile.toString()));
         bw.write("buildType=");
         bw.write(buildType);
         bw.newLine();
-- 
GitLab