1 <?xml version=
"1.0" encoding=
"UTF-8" ?>
3 Copyright (C) 2013, Red Hat, Inc. and others
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
11 Most traces are taken from the Wireshark website and are available under the GNU General Public License.
12 http://wiki.wireshark.org/SampleCaptures
15 <project name=
"Extract Traces" default=
"main" >
18 <echo message=
"Attempting to download test traces"/>
19 <get ignoreerrors=
"true" maxtime=
"20" dest=
"Short_LittleEndian.pcap.zip" skipexisting=
"true" src=
"http://wiki.eclipse.org/images/1/18/Short_LittleEndian.pcap.zip" />
20 <get ignoreerrors=
"true" maxtime=
"20" dest=
"Short_BigEndian.pcap.zip" skipexisting=
"true" src=
"http://wiki.eclipse.org/images/2/25/Short_BigEndian.pcap.zip" />
21 <get ignoreerrors=
"true" maxtime=
"20" dest=
"MostlyUDP.pcap.zip" skipexisting=
"true" src=
"http://wiki.eclipse.org/images/6/64/MostlyUDP.pcap.zip" />
22 <get ignoreerrors=
"true" maxtime=
"20" dest=
"MostlyTCP.pcap.zip" skipexisting=
"true" src=
"http://wiki.eclipse.org/images/8/8d/MostlyTCP.pcap.zip" />
23 <get ignoreerrors=
"true" maxtime=
"20" dest=
"EmptyPcap.pcap.zip" skipexisting=
"true" src=
"http://wiki.eclipse.org/images/c/c1/EmptyPcap.pcap.zip" />
24 <get ignoreerrors=
"true" maxtime=
"20" dest=
"BadPcapFile.pcap.zip" skipexisting=
"true" src=
"http://wiki.eclipse.org/images/5/5e/BadPcapFile.pcap.zip" />
25 <get ignoreerrors=
"true" maxtime=
"60" dest=
"BenchmarkTrace.pcap.zip" skipexisting=
"true" src=
"http://wiki.eclipse.org/images/1/12/BenchmarkTrace.pcap.zip" />
26 <get ignoreerrors=
"true" maxtime=
"20" dest=
"sample-ctf-trace-20120412.tar.bz2" skipexisting=
"true" src=
"http://lttng.org/files/samples/sample-ctf-trace-20120412.tar.bz2"/>
27 <condition property=
"testSuiteExists">
29 <available file=
"pcap-testsuite" type=
"dir"/>
32 <condition property=
"tracesExist">
34 <available file=
"Short_LittleEndian.pcap.zip"/>
35 <available file=
"Short_BigEndian.pcap.zip"/>
36 <available file=
"MostlyUDP.pcap.zip"/>
37 <available file=
"MostlyTCP.pcap.zip"/>
38 <available file=
"EmptyPcap.pcap.zip"/>
39 <available file=
"BadPcapFile.pcap.zip"/>
40 <available file=
"BenchmarkTrace.pcap.zip"/>
41 <available file=
"sample-ctf-trace-20120412.tar.bz2"/>
44 <antcall target=
"extractTraces"/>
47 <target name=
"extractTraces" if=
"tracesExist">
48 <unzip src=
"Short_LittleEndian.pcap.zip" dest=
"." />
49 <unzip src=
"Short_BigEndian.pcap.zip" dest=
"." />
50 <unzip src=
"MostlyUDP.pcap.zip" dest=
"." />
51 <unzip src=
"MostlyTCP.pcap.zip" dest=
"." />
52 <unzip src=
"EmptyPcap.pcap.zip" dest=
"." />
53 <unzip src=
"BadPcapFile.pcap.zip" dest=
"." />
54 <unzip src=
"BenchmarkTrace.pcap.zip" dest=
"." />
55 <bunzip2 src=
"sample-ctf-trace-20120412.tar.bz2"/>
56 <untar src=
"sample-ctf-trace-20120412.tar" dest=
"." />
57 <echo message=
"Traces extracted successfully"/>
This page took 0.049259 seconds and 5 git commands to generate.