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=
"20" dest=
"sample-ctf-trace-20120412.tar.bz2" skipexisting=
"true" src=
"http://lttng.org/files/samples/sample-ctf-trace-20120412.tar.bz2"/>
26 <condition property=
"testSuiteExists">
28 <available file=
"pcap-testsuite" type=
"dir"/>
31 <condition property=
"tracesExist">
33 <available file=
"Short_LittleEndian.pcap.zip"/>
34 <available file=
"Short_BigEndian.pcap.zip"/>
35 <available file=
"MostlyUDP.pcap.zip"/>
36 <available file=
"MostlyTCP.pcap.zip"/>
37 <available file=
"EmptyPcap.pcap.zip"/>
38 <available file=
"BadPcapFile.pcap.zip"/>
39 <available file=
"sample-ctf-trace-20120412.tar.bz2"/>
42 <antcall target=
"extractTraces"/>
45 <target name=
"extractTraces" if=
"tracesExist">
46 <unzip src=
"Short_LittleEndian.pcap.zip" dest=
"." />
47 <unzip src=
"Short_BigEndian.pcap.zip" dest=
"." />
48 <unzip src=
"MostlyUDP.pcap.zip" dest=
"." />
49 <unzip src=
"MostlyTCP.pcap.zip" dest=
"." />
50 <unzip src=
"EmptyPcap.pcap.zip" dest=
"." />
51 <unzip src=
"BadPcapFile.pcap.zip" dest=
"." />
52 <bunzip2 src=
"sample-ctf-trace-20120412.tar.bz2"/>
53 <untar src=
"sample-ctf-trace-20120412.tar" dest=
"." />
54 <echo message=
"Traces extracted successfully"/>
This page took 0.033941 seconds and 5 git commands to generate.