-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
29 lines (28 loc) · 1 KB
/
Copy pathbuild.xml
File metadata and controls
29 lines (28 loc) · 1 KB
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
<project>
<target name="all" depends="build, javadoc, jar"/>
<target name="clean">
<delete dir="build"/>
</target>
<target name="build">
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes"/>
<echo message = "build!" />
</target>
<target name="javadoc">
<javadoc packagenames="*" sourcepath="src" destdir = "doc" version = "true" windowtitle = "DBrium Documentation">
<doctitle><![CDATA[= DBrium Documentation =]]></doctitle>
</javadoc>
<echo message = "javadoc has been generated!" />
</target>
<target name="jar">
<mkdir dir="build/jar"/>
<jar destfile="build/jar/DBriumLauncher.jar" basedir="build/classes">
<manifest>
<attribute name="Main-Class" value="DBriumLauncher"/>
</manifest>
</jar>
</target>
<target name="run">
<java jar="build/jar/DBriumLauncher.jar" fork="true"/>
</target>
</project>