-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
64 lines (54 loc) · 2.47 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<project name="ScalaSMT" default="default">
<description>Builds, tests, and runs the project sbt-netbeans-plugin.</description>
<import file="nbproject/build-impl.xml"></import>
<target name="clean" description="Clean build products.">
<exec dir="/home/allentiak/PhD/projects/scalasmt" executable="sbt">
<arg value=";project ScalaSMT;clean"></arg>
</exec>
</target>
<target name="jar" description="Build JAR.">
<exec dir="/home/allentiak/PhD/projects/scalasmt" executable="sbt">
<arg value=";project ScalaSMT;;package;package-src"></arg>
</exec>
</target>
<target name="compile" description="Compile project.">
<exec dir="/home/allentiak/PhD/projects/scalasmt" executable="sbt">
<arg value=";project ScalaSMT;compile"></arg>
</exec>
</target>
<target name="test" description="Run unit tests.">
<exec dir="/home/allentiak/PhD/projects/scalasmt" executable="sbt">
<arg value=";project ScalaSMT;test"></arg>
</exec>
</target>
<target name="run-single">
<exec dir="/home/allentiak/PhD/projects/scalasmt" executable="sbt">
<arg value=";project ScalaSMT;run-main ${run.class}"></arg>
</exec>
</target>
<target name="run" description="Run a main class.">
<echo>You must set the main class for the main 'run' task. Change Compile to Test to set it for 'test:run':
mainClass in (Compile, run) := Some({main.class})
</echo>
<exec dir="/home/allentiak/PhD/projects/scalasmt" executable="sbt">
<arg value=";project ScalaSMT;run"></arg>
</exec>
</target>
<target name="debug-single">
<echo>
Add -Xrunjdwp:transport=dt_socket,address={jpda.address} as an argument
to the SBT (specifying desired `jpda.address`), attach debugger and run the file.
</echo>
</target>
<target name="debug" description="Debug project in IDE.">
<echo>
Add -Xrunjdwp:transport=dt_socket,address={jpda.address} as an argument
to the SBT (specifying desired `jpda.address`), attach debugger and run the project.
</echo>
</target>
<target name="-javadoc-build">
<exec dir="/home/allentiak/PhD/projects/scalasmt" executable="sbt">
<arg value=";project ScalaSMT;package-doc"></arg>
</exec>
</target>
</project>