-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
23 lines (18 loc) · 635 Bytes
/
build.xml
File metadata and controls
23 lines (18 loc) · 635 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<project name="JavaExercises" default="compile" basedir=".">
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<target name="init">
<mkdir dir="${build.dir}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src.dir}" destdir="${build.dir}" includeantruntime="false">
<compilerarg value="--enable-preview"/>
<compilerarg value="--release"/>
<compilerarg value="23"/>
</javac>
</target>
<target name="clean">
<delete dir="${build.dir}"/>
</target>
</project>