A RAMFile is stored in a list of Buffer object to support arbitrary large files.
[jnode:svn-mirror.git] / textui / build.xml
1 <project name="JNode-TextUI" default="all" basedir=".">
2
3   <typedef file="${basedir}/../all/lib/jnode.xml"/>
4                                 
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-textui.jar}"/>
9
10 <!-- Subproject specific classpath -->
11   <path id="my-cp">
12     <pathelement location="${jnode-core.jar}"/>
13     <pathelement location="${jnode-shell.jar}"/>
14     <path refid="cp"/>
15   </path>
16
17 <!-- Initialize all subproject directories -->
18   <target name="prepare">
19     <mkdir dir="${my-classes.dir}"/>
20         <jnode.copy-descriptors/>
21   </target>
22
23 <!-- Compile all subproject java files -->
24   <target name="compile" depends="prepare">
25     <jnode.compile>
26       <src path="${my-src.dir}/textui"/>
27       <classpath refid="my-cp"/>
28     </jnode.compile>
29   </target>
30
31 <!-- Assemble the jarfile -->
32   <target name="assemble" depends="compile"/>
33
34 <!-- Do it all -->
35   <target name="all" depends="assemble"/>
36
37 <!-- Clean everything -->
38   <target name="clean">
39         <jnode.clean/>
40   </target>
41
42 </project>
43
44