You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2008/05/15 13:08:35 UTC
svn commit: r656584 -
/harmony/enhanced/buildtest/trunk/infra/adaptors/ehwa-api/adaptor.xml
Author: smishura
Date: Thu May 15 04:08:34 2008
New Revision: 656584
URL: http://svn.apache.org/viewvc?rev=656584&view=rev
Log:
Formatting
Modified:
harmony/enhanced/buildtest/trunk/infra/adaptors/ehwa-api/adaptor.xml
Modified: harmony/enhanced/buildtest/trunk/infra/adaptors/ehwa-api/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/infra/adaptors/ehwa-api/adaptor.xml?rev=656584&r1=656583&r2=656584&view=diff
==============================================================================
--- harmony/enhanced/buildtest/trunk/infra/adaptors/ehwa-api/adaptor.xml (original)
+++ harmony/enhanced/buildtest/trunk/infra/adaptors/ehwa-api/adaptor.xml Thu May 15 04:08:34 2008
@@ -20,102 +20,117 @@
====================================================================== -->
<project name="ehwa-api" default="run" basedir=".">
-
+
<!--
Properties for Eclipse installation
-->
<condition property="eclipse.archive" value="eclipse-SDK-3.2.1-win32.zip">
- <isset property="is.windows.x86"/>
+ <isset property="is.windows.x86" />
</condition>
-
- <condition property="eclipse.archive" value="eclipse-SDK-3.2.1-win32-x86_64.zip">
- <isset property="is.windows.x86_64"/>
+
+ <condition property="eclipse.archive"
+ value="eclipse-SDK-3.2.1-win32-x86_64.zip">
+ <isset property="is.windows.x86_64" />
</condition>
-
- <condition property="eclipse.archive" value="eclipse-SDK-3.2.1-linux-gtk.tar.gz">
- <isset property="is.linux.x86"/>
+
+ <condition property="eclipse.archive"
+ value="eclipse-SDK-3.2.1-linux-gtk.tar.gz">
+ <isset property="is.linux.x86" />
</condition>
- <condition property="eclipse.archive" value="eclipse-SDK-3.2.1-linux-gtk-x86_64.tar.gz">
- <isset property="is.linux.x86_64"/>
+ <condition property="eclipse.archive"
+ value="eclipse-SDK-3.2.1-linux-gtk-x86_64.tar.gz">
+ <isset property="is.linux.x86_64" />
</condition>
- <condition property="eclipse-3.2.1.homedir" value="${external.libs.dir}/eclipse-3.2.1-win-x86">
- <isset property="is.windows.x86"/>
+ <condition property="eclipse-3.2.1.homedir"
+ value="${external.libs.dir}/eclipse-3.2.1-win-x86">
+ <isset property="is.windows.x86" />
</condition>
-
- <condition property="eclipse-3.2.1.homedir" value="${external.libs.dir}/eclipse-3.2.1-win-x86_64">
- <isset property="is.windows.x86_64"/>
+
+ <condition property="eclipse-3.2.1.homedir"
+ value="${external.libs.dir}/eclipse-3.2.1-win-x86_64">
+ <isset property="is.windows.x86_64" />
</condition>
-
- <condition property="eclipse-3.2.1.homedir" value="${external.libs.dir}/eclipse-3.2.l-lnx-x86">
- <isset property="is.linux.x86"/>
+
+ <condition property="eclipse-3.2.1.homedir"
+ value="${external.libs.dir}/eclipse-3.2.l-lnx-x86">
+ <isset property="is.linux.x86" />
</condition>
- <condition property="eclipse-3.2.1.homedir" value="${external.libs.dir}/eclipse-3.2.1-lnx-x86_64">
- <isset property="is.linux.x86_64"/>
+ <condition property="eclipse-3.2.1.homedir"
+ value="${external.libs.dir}/eclipse-3.2.1-lnx-x86_64">
+ <isset property="is.linux.x86_64" />
</condition>
-
+
<condition property="eclipse.exists">
- <available file="${eclipse-3.2.1.homedir}/eclipse/startup.jar"/>
+ <available file="${eclipse-3.2.1.homedir}/eclipse/startup.jar" />
</condition>
<condition property="eclipse.archive.exists">
- <available file="${external.arch.dir}/${eclipse.archive}"/>
+ <available file="${external.arch.dir}/${eclipse.archive}" />
</condition>
<!-- Setup of the EHWA scenario -->
- <target name="setup" description="Setup configuration for EHWA scenario run">
- <log message="============= Adaptor for ${suite.name}: Set Up ..."/>
+ <target name="setup"
+ description="Setup configuration for EHWA scenario run">
+ <log message="============= Adaptor for ${suite.name}: Set Up ..." />
- <log message="Installing Eclipse..."/>
- <antcall target="-install-eclipse"/>
+ <log message="Installing Eclipse..." />
+ <antcall target="-install-eclipse" />
</target>
-
+
<!-- Run of the EHWA scenario -->
<target name="run">
- <log message="============= Adaptor for ${suite.name}: Run ..."/>
+ <log message="============= Adaptor for ${suite.name}: Run ..." />
<exec-ant dir="${built.drlvm.trunk}"
targets="ehwa.test"
failonerror="true"
failproperty="drlvm-ehwa-test.run.failed">
- <sysproperty key="hy.cfg" value="${drlvm.config}"/>
- <sysproperty key="eclipse.home" value="${eclipse-3.2.1.homedir}/eclipse"/>
- <sysproperty key="test.mode"
- value="${ehwa-api.parameters.optional.test.mode}"/>
- <sysproperty key="test.jre.home"
- value="${ehwa-api.parameters.required.tested.runtime}"/>
- </exec-ant>
+ <sysproperty key="hy.cfg" value="${drlvm.config}" />
+ <sysproperty key="eclipse.home"
+ value="${eclipse-3.2.1.homedir}/eclipse" />
+ <sysproperty key="test.mode"
+ value="${ehwa-api.parameters.optional.test.mode}" />
+ <sysproperty key="test.jre.home"
+ value="${ehwa-api.parameters.required.tested.runtime}" />
+ </exec-ant>
</target>
-
-
+
+
<!-- Targets for Eclipse downloading and installing -->
<target name="-install-eclipse"
description="download and install Eclipse SDK 3.2.1 if it doesn't exist already"
- depends="-install-eclipse-win,-install-eclipse-lnx"/>
+ depends="-install-eclipse-win,-install-eclipse-lnx" />
- <target name="-install-eclipse-win" if="is.windows" unless="eclipse.exists" depends="-download-eclipse">
+ <target name="-install-eclipse-win"
+ if="is.windows"
+ unless="eclipse.exists"
+ depends="-download-eclipse">
<unzip src="${external.arch.dir}/${eclipse.archive}"
- dest="${eclipse-3.2.1.homedir}"/>
+ dest="${eclipse-3.2.1.homedir}" />
</target>
-
- <target name="-install-eclipse-lnx" if="is.linux" unless="eclipse.exists" depends="-download-eclipse">
+
+ <target name="-install-eclipse-lnx"
+ if="is.linux"
+ unless="eclipse.exists"
+ depends="-download-eclipse">
<gunzip src="${external.arch.dir}/${eclipse.archive}"
- dest="${temp.files.dir}/ehwa_eclipse_tmp.tar"/>
+ dest="${temp.files.dir}/ehwa_eclipse_tmp.tar" />
<untar src="${temp.files.dir}/ehwa_eclipse_tmp.tar"
- dest="${eclipse-3.2.1.homedir}"/>
+ dest="${eclipse-3.2.1.homedir}" />
- <delete file="${temp.files.dir}/ehwa_eclipse_tmp.tar"/>
+ <delete file="${temp.files.dir}/ehwa_eclipse_tmp.tar" />
</target>
<target name="-download-eclipse" unless="eclipse.archive.exists">
<get src="${ehwa-api.parameters.optional.eclipse.download.address}/${eclipse.archive}"
dest="${external.arch.dir}/${eclipse.archive}"
usetimestamp="false"
- verbose="true"/>
+ verbose="true" />
</target>
</project>