~epii/+junk/librungekutta-java

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
<project name="librungekutta-java" default="dist" basedir=".">
	
	<description>
		Runge-Kutta Java Library.
	</description>
	
	<property name="project" value="librungekutta-java"/>
	<property name="version" value="1.0-bzr"/>
	
	<property name="src" location="src"/>
	<property name="target" location="target"/>
	<property name="classes" location="${target}/classes"/>
	<property name="docs" location="${target}/docs"/>
	
	<target name="init">
		<mkdir dir="${classes}"/>
	</target>
	
	<target name="compile" depends="init" description="Compile the source">
		<javac srcdir="${src}" destdir="${classes}" encoding="utf-8"/>
	</target>
	
	<target name="jar" depends="compile" description="Create jar file">
		<jar jarfile="${target}/rungekutta-${version}.jar" basedir="${classes}"/>
	</target>
	
	<target name="javadoc" description="Create Javadoc documentation">
		<javadoc
			sourcepath="${src}"
			destdir="${docs}"
			encoding="utf-8"
			windowtitle="${project} ${version}"
			bottom="Copyright &amp;copy; &lt;a href=&quot;http://www.epii.jp/&quot;&gt;epii&lt;/a&gt; (public.epii [at-mark] gmail.com) 2010."/>
	</target>
	
	<target name="dist" depends="jar,javadoc" description="Create distribution files"></target>
	
	<target name="clean" description="Clean up">
		<delete dir="${target}"/>
	</target>
	
</project>