equal
deleted
inserted
replaced
1 <?xml version="1.0"?> |
|
2 <!-- |
|
3 ============================================================================ |
|
4 Name : test-macros.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="test-macros" xmlns:au="org.apache.ant.antunit"> |
|
24 <description>Helium Antlib test macro.</description> |
|
25 |
|
26 <taskdef resource="org/apache/ant/antunit/antlib.xml" uri="org.apache.ant.antunit"/> |
|
27 |
|
28 <dirname property="helium.antlib.root.dir" file="${ant.file.test-macros}" /> |
|
29 <property name="build.temp.dir" location="${helium.antlib.root.dir}/../build" /> |
|
30 |
|
31 <fileset dir="." includes="**/test_*.ant.xml" id="defaut.antunit"/> |
|
32 |
|
33 <macrodef name="antunitModule"> |
|
34 <attribute name="name" /> |
|
35 <attribute name="filesetid" default="defaut.antunit"/> |
|
36 <sequential> |
|
37 <mkdir dir="${build.temp.dir}/antunit/@{name}" /> |
|
38 <au:antunit> |
|
39 <fileset refid="@{filesetid}" /> |
|
40 <au:plainlistener logLevel="info"/> |
|
41 <au:xmllistener toDir="${build.temp.dir}/antunit/@{name}"/> |
|
42 </au:antunit> |
|
43 </sequential> |
|
44 </macrodef> |
|
45 |
|
46 </project> |
|