-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.xml
38 lines (38 loc) · 1.07 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<project name="burp-oauth" default="plugin">
<target name="plugin" depends="classes">
<zip destfile="burp-oauth.jar">
<zipgroupfileset dir="lib" includes="signpost-core-*.jar"/>
<zipgroupfileset dir="lib" includes="commons-codec-*.jar"/>
<fileset dir="build">
<include name="burp/BurpExtender.class"/>
<include name="burp/BurpHttpRequestWrapper.class"/>
<include name="burp/OAuthConfig.class"/>
</fileset>
</zip>
</target>
<target name="test" depends="classes">
<java classname="org.junit.runner.JUnitCore" classpath="build">
<arg value="burp.OAuthTest"/>
<classpath>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</java>
</target>
<target name="classes">
<mkdir dir="build"/>
<javac srcdir="src:api" destdir="build" includeantruntime="false">
<classpath>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="clean">
<delete dir="build"/>
<delete file="burp-oauth.jar"/>
</target>
</project>