Skip to content
Snippets Groups Projects
Commit 9a155a7d 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 6afcc335
No related branches found
No related tags found
No related merge requests found
...@@ -14,16 +14,44 @@ ...@@ -14,16 +14,44 @@
includes="**/*" includes="**/*"
/> />
<delete file="label.properties"/> <delete file="label.properties"/>
<condition property="buildproperties.exists">
<and>
<isset property="buildType"/>
<isset property="date"/>
<isset property="time"/>
<isset property="buildId"/>
</and>
</condition>
<antcall target="create.label.properties"/>
<antcall target="create.label.properties2"/>
<available file="label.properties" property="label.properties.exists"/>
<antcall target="performance"/>
<delete file="label.properties"/>
<delete dir="${basedir}/org.eclipse.wtp.releng"/>
</target>
<target name="create.label.properties" if="buildproperties.exists">
<echo file="label.properties" append="true">
buildType=${buildType}
</echo>
<echo file="label.properties" append="true">
date=${date}
</echo>
<echo file="label.properties" append="true">
time=${time}
</echo>
<echo file="label.properties" append="true">
buildId=${buildId}
</echo>
</target>
<target name="create.label.properties2" unless="buildproperties.exists">
<java classname="org.eclipse.wtp.releng.tools.performance.Main" failonerror="false"> <java classname="org.eclipse.wtp.releng.tools.performance.Main" failonerror="false">
<arg value="${basedir}"/> <arg value="${basedir}"/>
<classpath> <classpath>
<pathelement path="${basedir}/org.eclipse.wtp.releng/performance/bin"/> <pathelement path="${basedir}/org.eclipse.wtp.releng/performance/bin"/>
</classpath> </classpath>
</java> </java>
<available file="label.properties" property="label.properties.exists"/>
<antcall target="performance"/>
<delete file="label.properties"/>
<delete dir="${basedir}/org.eclipse.wtp.releng"/>
</target> </target>
<target name="performance" if="label.properties.exists"> <target name="performance" if="label.properties.exists">
......
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