628
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!--
|
|
3 |
============================================================================
|
|
4 |
Name : build.xml
|
|
5 |
Part of : Helium AntLib
|
|
6 |
|
|
7 |
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
8 |
All rights reserved.
|
|
9 |
This component and the accompanying materials are made available
|
|
10 |
under the terms of the License "Eclipse Public License v1.0"
|
|
11 |
which accompanies this distribution, and is available
|
|
12 |
at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
13 |
|
|
14 |
Initial Contributors:
|
|
15 |
Nokia Corporation - initial contribution.
|
|
16 |
|
|
17 |
Contributors:
|
|
18 |
|
|
19 |
Description:
|
|
20 |
|
|
21 |
============================================================================
|
|
22 |
-->
|
|
23 |
<project name="helium-exec-listener-build" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
|
|
24 |
<description></description>
|
|
25 |
|
|
26 |
<property environment="env"/>
|
|
27 |
|
|
28 |
<typedef resource="com/nokia/helium/environment/ant/antlib.xml" uri="http://www.nokia.com/helium" />
|
|
29 |
|
|
30 |
<property name="ExecListener.file" value="executables.csv" />
|
|
31 |
|
|
32 |
|
|
33 |
<target name="test-exec-calls">
|
|
34 |
<exec executable="perl">
|
|
35 |
<arg value="-v"/>
|
|
36 |
</exec>
|
|
37 |
<exec executable="python">
|
|
38 |
<arg value="--version"/>
|
|
39 |
</exec>
|
|
40 |
<exec executable="python">
|
|
41 |
<arg value="--version"/>
|
|
42 |
</exec>
|
|
43 |
<hlm:environment output="tools_listener.xml">
|
|
44 |
<hlm:envdata>
|
|
45 |
<hlm:executable name="java" versionArgs="-version" versionRegex="java version "(\S+)\""/>
|
|
46 |
<hlm:executable name="ant" versionArgs="-version" versionRegex="Apache Ant version (\S+)"/>
|
|
47 |
<hlm:executable name="perl" versionArgs="-v" versionRegex="This is perl, v(\S+)"/>
|
|
48 |
<hlm:executable name="python" versionArgs="--version" versionRegex="Python (\S+)"/>
|
|
49 |
</hlm:envdata>
|
|
50 |
</hlm:environment>
|
|
51 |
</target>
|
|
52 |
|
|
53 |
</project>
|
|
54 |
|
|
55 |
|
|
56 |
|