Tweak configure.sh script to pick up newest version of configure classes.
[jnode:svn-mirror.git] / shell / build.xml
1 <project name="JNode-Shell" 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-shell.jar}"/>
9
10 <!-- Subproject specific classpath -->
11   <path id="my-cp">
12     <pathelement location="${jnode-core.jar}"/>
13     <path refid="cp"/>
14   </path>
15
16 <!-- Initialize all subproject directories -->
17   <target name="prepare">
18     <mkdir dir="${my-classes.dir}"/>
19         <jnode.copy-descriptors/>
20     <copy todir="${my-classes.dir}">
21       <fileset dir="${my-src.dir}/shell" excludes="**/*.java,**/package.html"/>
22     </copy>
23   </target>
24
25 <!-- Compile all subproject java files -->
26   <target name="compile" depends="prepare">
27     <jnode.compile>
28         <src path="${my-src.dir}/shell"/>
29         <src path="${my-src.dir}/test"/>
30       <classpath refid="my-cp"/>
31     </jnode.compile>
32   </target>
33
34 <!-- Assemble the jarfile -->
35   <target name="assemble" depends="compile"/>
36
37 <!-- Do it all -->
38   <target name="all" depends="assemble"/>
39
40 <!-- Clean everything -->
41   <target name="clean">
42         <jnode.clean/>
43   </target>
44
45 </project>
46
47