forked from ArtOfIllusion/ArtOfIllusion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OSSpecific.xml
61 lines (53 loc) · 1.97 KB
/
OSSpecific.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
<?xml version="1.0"?>
<project name="OSSpecific" default="dist" basedir=".">
<!-- set global properties for this build -->
<property name="src" value="OSSpecific/src" />
<property name="build" value="OSSpecific/build" />
<property name="docs" value="OSSpecific/docs" />
<property name="dist" value="Live_Application" />
<property name="assemble" value="${dist}/Plugins" />
<property name="aoijar" value="${dist}/ArtOfIllusion.jar" />
<property name="JavaVersion" value="1.6" />
<property name="args" value="-nowarn" />
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}" />
<!-- create the dist directory -->
<mkdir dir="${dist}" />
<mkdir dir="${assemble}" />
</target>
<target name="compile" depends="init">
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}" encoding="UTF-8" classpath="${aoijar}" debug="on" target="${JavaVersion}" source="${JavaVersion}" >
<compilerarg line="${args}"/>
</javac>
</target>
<target name="dist" depends="compile">
<jar jarfile="${assemble}/OSSpecific.jar" basedir="${build}" >
<fileset dir="${src}" includes="*.xml" />
</jar>
</target>
<target name="docs" depends="init">
<javadoc packagenames="artofillusion.*"
sourcepath="${src}"
classpath="${aoijar}"
source="${JavaVersion}"
defaultexcludes="yes"
destdir="${docs}/${ant.project.name}"
author="true"
version="true"
use="true"
windowtitle="Art of Illusion Documentation"
public="true">
<doctitle><![CDATA[<h1>Art of Illusion</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright © 1999-2008 by Peter Eastman.</i>]]></bottom>
</javadoc>
</target>
<target name="clean">
<!-- Delete the ${build} and ${docs} directory trees -->
<delete dir="${build}" />
<delete dir="${docs}" />
</target>
</project>