Last change
on this file since 14627 was 14627, checked in by oranfry, 17 years ago |
initial import of the gs3-release-maker
|
File size:
1.2 KB
|
Line | |
---|
1 | <?xml version="1.0"?>
|
---|
2 |
|
---|
3 | <project basedir="." default="cleanup">
|
---|
4 |
|
---|
5 | <target name="cleanup">
|
---|
6 | <delete file="asf-logo.gif" />
|
---|
7 | </target>
|
---|
8 |
|
---|
9 | <target name="testTarTask">
|
---|
10 | <ant antfile="tar.xml" target="feather" />
|
---|
11 | <untar src="asf-logo.gif.tar" dest="." />
|
---|
12 | <ant antfile="tar.xml" target="cleanup" />
|
---|
13 | </target>
|
---|
14 |
|
---|
15 | <target name="testGzipTarTask">
|
---|
16 | <ant antfile="tar.xml" target="feather" />
|
---|
17 | <untar src="asf-logo.gif.tar.gz" dest="." compression="gzip" />
|
---|
18 | <ant antfile="tar.xml" target="cleanup" />
|
---|
19 | </target>
|
---|
20 |
|
---|
21 | <target name="testBzip2TarTask">
|
---|
22 | <ant antfile="tar.xml" target="feather" />
|
---|
23 | <untar src="asf-logo.gif.tar.bz2" dest="." compression="bzip2"/>
|
---|
24 | <ant antfile="tar.xml" target="cleanup" />
|
---|
25 | </target>
|
---|
26 |
|
---|
27 | <target name="realTest">
|
---|
28 | <untar src="expected/asf-logo.gif.tar" dest="." />
|
---|
29 | </target>
|
---|
30 |
|
---|
31 | <target name="realGzipTest">
|
---|
32 | <untar src="expected/asf-logo.gif.tar.gz" dest="." compression="gzip" />
|
---|
33 | </target>
|
---|
34 |
|
---|
35 | <target name="realBzip2Test">
|
---|
36 | <untar src="expected/asf-logo.gif.tar.bz2" dest="." compression="bzip2"/>
|
---|
37 | </target>
|
---|
38 |
|
---|
39 |
|
---|
40 | <target name="srcDirTest">
|
---|
41 | <untar src="." dest="." />
|
---|
42 | </target>
|
---|
43 |
|
---|
44 | <target name="encoding">
|
---|
45 | <untar src="expected/asf-logo.gif.tar" dest="." encoding="foo"/>
|
---|
46 | </target>
|
---|
47 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.