<?xml version="1.0" encoding="UTF-8"?>
<!--
============================================================================
Name : build.xml
Part of : Helium AntLib
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".
Initial Contributors:
Nokia Corporation - initial contribution.
Contributors:
Description:
============================================================================
-->
<project name="helium-exec-listener-build" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
<description></description>
<property environment="env"/>
<typedef resource="com/nokia/helium/environment/ant/antlib.xml" uri="http://www.nokia.com/helium" />
<property name="ExecListener.file" value="executables.csv" />
<target name="test-exec-calls">
<exec executable="perl">
<arg value="-v"/>
</exec>
<exec executable="python">
<arg value="--version"/>
</exec>
<exec executable="python">
<arg value="--version"/>
</exec>
<hlm:environment output="tools_listener.xml">
<hlm:envdata>
<hlm:executable name="java" versionArgs="-version" versionRegex="java version "(\S+)\""/>
<hlm:executable name="ant" versionArgs="-version" versionRegex="Apache Ant version (\S+)"/>
<hlm:executable name="perl" versionArgs="-v" versionRegex="This is perl, v(\S+)"/>
<hlm:executable name="python" versionArgs="--version" versionRegex="Python (\S+)"/>
</hlm:envdata>
</hlm:environment>
</target>
</project>