Line | |
---|
1 | <project name="pathconvert">
|
---|
2 |
|
---|
3 | <path id="testpath">
|
---|
4 | <pathelement path="${ant.file}" />
|
---|
5 | </path>
|
---|
6 |
|
---|
7 | <target name="testmap">
|
---|
8 | <pathconvert property="result" dirsep="#">
|
---|
9 | <path refid="testpath" />
|
---|
10 | <map from="${basedir}" to="test" />
|
---|
11 | </pathconvert>
|
---|
12 | </target>
|
---|
13 |
|
---|
14 | <target name="testmapper">
|
---|
15 | <pathconvert property="result" dirsep="#">
|
---|
16 | <path refid="testpath" />
|
---|
17 | <mapper type="glob" from="${basedir}" to="test" />
|
---|
18 | </pathconvert>
|
---|
19 | </target>
|
---|
20 |
|
---|
21 | <target name="testnotargetos">
|
---|
22 | <pathconvert property="result" refid="testpath" />
|
---|
23 | </target>
|
---|
24 |
|
---|
25 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.