forked from liujiboy/Java_Course
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
23 lines (23 loc) · 681 Bytes
/
build.xml
File metadata and controls
23 lines (23 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<project name="005" default="dist" basedir=".">
<property name="src" location="."/>
<property name="build" location="bin"/>
<property name="dist" location="dist"/>
<target name="init">
<mkdir dir="${build}"/>
<mkdir dir="${dist}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}"/>
</target>
<target name="dist" depends="compile">
<jar jarfile="${dist}/classes.jar" basedir="${build}">
</jar>
</target>
<target name="clean">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
<target name="Triangle" depends="compile">
<java classpath="${build}" classname="edu.cqu.Triangle"/>
</target>
</project>