-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
28 lines (28 loc) · 1 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
<project default="compile" name="Build file for decompiled code">
<description>
This is the build file produced by Dava for the decompiled code.
New features like (formatting using jalopy etc) will be added to this build file
</description>
<!-- properties for project directories -->
<property name="srcDir" location="src"/>
<property name="classesDir" location="classes"/>
<!-- ========== Compile Target ================= -->
<target name="compile" description="Compile .java files">
<javac srcdir="${srcDir}" destdir="${classesDir}">
<classpath>
<pathelement location="${junitJar}"/>
</classpath>
</javac>
</target>
<!-- ==========AST METRICS FOR DECOMPILED CODE================= -->
<target name="ast-metrics" description="Compute the ast metrics">
<exec executable="java" dir="src">
<arg value="-Xmx400m" />
<arg value="soot.Main" />
<arg value="-ast-metrics" />
<arg value="--src-prec" />
<arg value="java" />
<arg value="sootOutput\dava\src\e" />
</exec>
</target>
</project>