Skip to content
Snippets Groups Projects
Commit 9f88c55d authored by jeffliu's avatar jeffliu
Browse files

[93609] Performance: Need a way to verify that WTP plug-ins do not regress...

[93609] Performance: Need a way to verify that WTP plug-ins do not regress Eclipse platform performance
parent dea67a69
No related branches found
No related tags found
No related merge requests found
...@@ -534,7 +534,7 @@ ...@@ -534,7 +534,7 @@
<param name="testResults" value="perfResults"/> <param name="testResults" value="perfResults"/>
</antcall> </antcall>
<available property="global.php.exists" file="${perfDir}/results/graph/global.php"/> <available property="global.php.exists" file="${perfDir}/results/graph/global.php"/>
<antcall target="global.addon"> <antcall target="global.addon"/>
<mkdir dir="${buildDirectory}/${buildLabel}/perf"/> <mkdir dir="${buildDirectory}/${buildLabel}/perf"/>
<copy todir="${buildDirectory}/${buildLabel}/perf" overwrite="true"> <copy todir="${buildDirectory}/${buildLabel}/perf" overwrite="true">
<fileset dir="${perfDir}"> <fileset dir="${perfDir}">
......
...@@ -80,7 +80,13 @@ public class Main ...@@ -80,7 +80,13 @@ public class Main
{ {
StringBuffer outputFile = new StringBuffer(); StringBuffer outputFile = new StringBuffer();
if (args.length > 0) if (args.length > 0)
{
outputFile.append(args[0]); outputFile.append(args[0]);
if (!args[0].endsWith("\\") && !args[0].endsWith("/"))
{
outputFile.append("/");
}
}
outputFile.append("label.properties"); outputFile.append("label.properties");
BufferedWriter bw = new BufferedWriter(new FileWriter(outputFile.toString())); BufferedWriter bw = new BufferedWriter(new FileWriter(outputFile.toString()));
bw.write("buildType="); bw.write("buildType=");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment