Line | |
---|
1 | <project default="nope">
|
---|
2 | <path id="global-path-id"/>
|
---|
3 | <echo id="echo-id"/>
|
---|
4 |
|
---|
5 | <target name="nope">
|
---|
6 | <fail>This build file should be run by a testcase</fail>
|
---|
7 | </target>
|
---|
8 |
|
---|
9 | <target name="define">
|
---|
10 | <path id="target-path-id"/>
|
---|
11 | </target>
|
---|
12 |
|
---|
13 | <target name="basic" depends="define">
|
---|
14 | <condition property="global-path">
|
---|
15 | <isreference refid="global-path-id"/>
|
---|
16 | </condition>
|
---|
17 | <condition property="target-path">
|
---|
18 | <isreference refid="target-path-id"/>
|
---|
19 | </condition>
|
---|
20 | </target>
|
---|
21 |
|
---|
22 | <target name="isreference-incomplete">
|
---|
23 | <condition property="foo">
|
---|
24 | <isreference/>
|
---|
25 | </condition>
|
---|
26 | </target>
|
---|
27 |
|
---|
28 | <target name="type">
|
---|
29 | <condition property="global-path">
|
---|
30 | <isreference refid="global-path-id" type="path"/>
|
---|
31 | </condition>
|
---|
32 | <condition property="global-path-as-fileset">
|
---|
33 | <isreference refid="global-path-id" type="fileset"/>
|
---|
34 | </condition>
|
---|
35 | <condition property="global-path-as-foo">
|
---|
36 | <isreference refid="global-path-id" type="foo"/>
|
---|
37 | </condition>
|
---|
38 | <condition property="global-echo">
|
---|
39 | <isreference refid="echo-id" type="echo"/>
|
---|
40 | </condition>
|
---|
41 | </target>
|
---|
42 |
|
---|
43 | </project> |
---|
Note:
See
TracBrowser
for help on using the repository browser.