1 <project name="JNode-Distr" default="all" basedir=".">
3 <typedef file="${basedir}/../all/lib/jnode.xml"/>
5 <property name="my-build.dir" value="${basedir}/build"/>
6 <property name="my-classes.dir" value="${my-build.dir}/classes"/>
7 <property name="my-src.dir" value="${basedir}/src"/>
8 <property name="my.jar" value="${jnode-distr.jar}"/>
10 <!-- Subproject specific classpath -->
12 <pathelement location="${jnode-core.jar}"/>
13 <pathelement location="${jnode-gui.jar}"/>
14 <pathelement location="${jnode-textui.jar}"/>
15 <pathelement location="${jnode-shell.jar}"/>
16 <pathelement location="${jnode-fs.jar}"/>
18 <pathelement location="${junit.jar}"/>
19 <pathelement location="${telnetd.jar}"/>
21 <pathelement location="${jetty.jar}"/>
22 <pathelement location="${jetty-util.jar}"/>
24 <pathelement location="${jawk.jar}"/>
29 <!-- Initialize all subproject directories -->
30 <target name="prepare">
31 <mkdir dir="${my-classes.dir}"/>
32 <mkdir dir="${my-build.dir}"/>
33 <jnode.copy-descriptors/>
36 <!-- Compile all subproject java files -->
37 <target name="compile" depends="prepare">
39 <src path="${my-src.dir}/apps"/>
40 <src path="${my-src.dir}/emu"/>
41 <src path="${my-src.dir}/install"/>
42 <src path="${my-src.dir}/test"/>
43 <classpath refid="my-cp"/>
46 <!-- copy properties files -->
47 <copy todir="${my-classes.dir}/org/jnode/apps/telnetd">
48 <fileset dir="${my-src.dir}/apps/org/jnode/apps/telnetd">
49 <include name="**/*.properties" />
54 <!-- Assemble the jarfile(s) -->
55 <target name="assemble" depends="compile">
59 <target name="all" depends="assemble"/>
61 <!-- Clean everything -->