1
by epii
first commit. |
1 |
<project name="librungekutta-java" default="dist" basedir="."> |
2 |
||
3 |
<description>
|
|
4 |
Runge-Kutta Java Library. |
|
5 |
</description>
|
|
6 |
||
7 |
<property name="project" value="librungekutta-java"/> |
|
8 |
<property name="version" value="1.0-bzr"/> |
|
9 |
||
10 |
<property name="src" location="src"/> |
|
11 |
<property name="target" location="target"/> |
|
12 |
<property name="classes" location="${target}/classes"/> |
|
13 |
<property name="docs" location="${target}/docs"/> |
|
14 |
||
15 |
<target name="init"> |
|
16 |
<mkdir dir="${classes}"/> |
|
17 |
</target>
|
|
18 |
||
19 |
<target name="compile" depends="init" description="Compile the source"> |
|
4
by epii
forcing souce encoding utf-8 |
20 |
<javac srcdir="${src}" destdir="${classes}" encoding="utf-8"/> |
1
by epii
first commit. |
21 |
</target>
|
22 |
||
23 |
<target name="jar" depends="compile" description="Create jar file"> |
|
24 |
<jar jarfile="${target}/rungekutta-${version}.jar" basedir="${classes}"/> |
|
25 |
</target>
|
|
26 |
||
27 |
<target name="javadoc" description="Create Javadoc documentation"> |
|
28 |
<javadoc
|
|
29 |
sourcepath="${src}" |
|
30 |
destdir="${docs}" |
|
4
by epii
forcing souce encoding utf-8 |
31 |
encoding="utf-8" |
1
by epii
first commit. |
32 |
windowtitle="${project} ${version}" |
33 |
bottom="Copyright &copy; <a href="http://www.epii.jp/">epii</a> (public.epii [at-mark] gmail.com) 2010."/> |
|
34 |
</target>
|
|
35 |
||
36 |
<target name="dist" depends="jar,javadoc" description="Create distribution files"></target> |
|
37 |
||
38 |
<target name="clean" description="Clean up"> |
|
39 |
<delete dir="${target}"/> |
|
40 |
</target>
|
|
41 |
||
42 |
</project>
|
|
43 |