/[debian]/libspin-java/trunk/build.xml
ViewVC logotype

Contents of /libspin-java/trunk/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 378 - (show annotations)
Fri Sep 29 21:09:46 2006 UTC (14 years, 2 months ago) by gregoa
File MIME type: text/xml
File size: 1795 byte(s)
[svn-inject] Forking libspin-java source to Trunk
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <project name="spin" default="dist" basedir=".">
4
5 <property file="./build.properties"/>
6
7 <target name="clean" description="Clean directories">
8 <delete dir="./classes"/>
9 <delete dir="./docs/api"/>
10 <delete dir="./dist"/>
11 </target>
12
13 <target name="build" description="Build the source" >
14 <mkdir dir="./classes"/>
15 <javac debug="true" deprecation="true" destdir="./classes" srcdir="./src">
16 <classpath>
17 <fileset dir="./lib">
18 <include name="*" />
19 </fileset>
20 </classpath>
21 <classpath path="${junit.path}/junit.jar"/>
22 </javac>
23 </target>
24
25 <target name="doc" description="Document the api" >
26 <mkdir dir="./docs/api"/>
27 <javadoc sourcepath="src" destdir="docs/api" verbose="true">
28 <package name="spin"/>
29 <package name="spin.off"/>
30 <package name="spin.over"/>
31 <classpath>
32 <fileset dir="./lib">
33 <include name="*" />
34 </fileset>
35 </classpath>
36 </javadoc>
37 </target>
38
39 <target name="dist" description="Set up the distribution" depends="clean, build, doc" >
40 <mkdir dir="./dist"/>
41 <jar destfile="./dist/spin.jar">
42 <fileset dir="./classes">
43 <exclude name="spin/demo/**/*"/>
44 <exclude name="spin/test/**/*"/>
45 </fileset>
46 </jar>
47 <zip destfile="./dist/spin-${spin.version}.zip">
48 <fileset dir=".">
49 <exclude name="classes/**/*"/>
50 <exclude name="dist/spin-${spin.version}.zip"/>
51 </fileset>
52 </zip>
53 </target>
54 </project>

  ViewVC Help
Powered by ViewVC 1.1.26