buildframework/helium/sf/java/environment/tests/antunit/listener/build.xml
changeset 628 7c4a911dc066
child 645 b8d81fa19e7d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/buildframework/helium/sf/java/environment/tests/antunit/listener/build.xml	Fri Aug 13 14:59:05 2010 +0300
@@ -0,0 +1,56 @@
+<?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 &quot;(\S+)\&quot;"/>
+                <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>
+
+
+