-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathclirr.xml
25 lines (24 loc) · 885 Bytes
/
clirr.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
<project default="checkbinarycompatibility" name="Clirr for NetworkParser" xmlns:cs="antlib:com.puppycrawl.tools.checkstyle">
<import file="build.xml" as="build"/>
<!-- depends="build.buildJars" -->
<target name="checkbinarycompatibility" >
<taskdef resource="clirrtask.properties">
<classpath>
<fileset dir="lib/clirr">
<include name="*.jar"/>
</fileset>
</classpath>
</taskdef>
<property name="jar.baseline" value="${ant.project.name}-4.0.-1-SNAPSHOT.jar"/>
<property
name="jar.baseline"
value="${ant.project.name}-${compatibility.baseline.version}.jar"/>
<echo>${jar.baseline}</echo>
<clirr>
<origfiles dir="build/libs" includes="${jar.baseline}"/>
<newfiles dir="build/libs" includes="${jar.baseline"/>
<formatter type="xml" outfile="build/clirr.xml" />
<!-- TODO: example for 3rd party classpath -->
</clirr>
</target>
</project>