628
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
587
|
2 |
<!--
|
|
3 |
============================================================================
|
628
|
4 |
Name : test_project.ant.xml
|
587
|
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 |
<!--
|
|
24 |
This project is part of the tests package...
|
|
25 |
|
|
26 |
@package tests
|
|
27 |
-->
|
|
28 |
<project name="test_project" default="check-target">
|
|
29 |
<description>A test Ant project.
|
|
30 |
|
|
31 |
Bit more text.
|
|
32 |
|
|
33 |
And some more.
|
|
34 |
</description>
|
|
35 |
|
|
36 |
<import file="random.xml" optional="true"/>
|
|
37 |
|
|
38 |
<typedef file="common.antlib.xml"/>
|
|
39 |
|
|
40 |
<!-- This is a property comment summary.
|
|
41 |
|
|
42 |
Here is a longer description of this property.
|
|
43 |
|
|
44 |
@scope public
|
|
45 |
@editable recommended
|
|
46 |
@deprecated Since 6.0.
|
|
47 |
-->
|
|
48 |
<property name="property1" value="value1"/>
|
|
49 |
|
|
50 |
<path id="helium.antdata.classpath">
|
|
51 |
<fileset dir="${helium.antlib.root.dir}/bin" includes="*.jar"/>
|
|
52 |
<fileset dir="${helium.antlib.root.dir}/antdata/lib" includes="*.jar"/>
|
|
53 |
</path>
|
|
54 |
|
|
55 |
<!-- This target is for testing the generation of documentation.
|
|
56 |
|
|
57 |
So this comment is also for testing if the comments can be extracted.
|
|
58 |
|
|
59 |
Some vague usage twaddle:
|
|
60 |
|
|
61 |
<runtarget target="check-target"/>
|
|
62 |
|
|
63 |
@deprecated Lets pretend this target is deprecated.
|
|
64 |
-->
|
|
65 |
<target name="check-target" if="foo" unless="bar" depends="dep1, dep2" description="A test target">
|
|
66 |
<antcall target="sub_test_target"/>
|
|
67 |
<echo>${property1}</echo>
|
|
68 |
<exec executable="python.exe" output="foo.log"/>
|
|
69 |
<signal name="fooSignal"/>
|
|
70 |
</target>
|
|
71 |
|
|
72 |
<target name="dep1"/>
|
|
73 |
<target name="dep2"/>
|
|
74 |
|
|
75 |
<!-- @scope public -->
|
|
76 |
<macrodef name="test_macro">
|
|
77 |
<attribute name="dir"/>
|
|
78 |
<sequential>
|
|
79 |
<echo>Cool macro!</echo>
|
|
80 |
</sequential>
|
|
81 |
</macrodef>
|
|
82 |
|
628
|
83 |
<!--* @property user.defined.property
|
587
|
84 |
|
|
85 |
This property must be defined by the user.
|
|
86 |
|
|
87 |
Here is a bit more description.
|
|
88 |
@editable required
|
|
89 |
@scope public
|
|
90 |
-->
|
|
91 |
|
|
92 |
</project>
|
|
93 |
|
|
94 |
|
|
95 |
|