]> git.somenet.org - pub/jan/dslab.git/blob - ue2/build.xml
GITOLITE.txt
[pub/jan/dslab.git] / ue2 / build.xml
1 <project name="dslab2" default="compile" basedir=".">\r
2 <property name="src.dir" value="src"/>\r
3 <property name="build.dir" value="build"/>\r
4 <path id="project.classpath">\r
5 <pathelement location="${build.dir}"/>\r
6 </path>\r
7 <target name="compile" description="Compile project.">\r
8 <mkdir dir="${build.dir}"/>\r
9 <javac srcdir="${src.dir}" destdir="${build.dir}" classpathref="project.classpath" debug="true" deprecation="true" includeantruntime="false"/>\r
10 <copy file="${src.dir}/registry.properties" todir="${build.dir}"/>\r
11 </target>\r
12 <target name="run-rootns" depends="compile" description="Run nameserver.">\r
13 <java classname="Nameserver.Main" fork="true" classpathref="project.classpath"/>\r
14 </target>\r
15 <target name="run-ns" depends="compile" description="Run nameserver.">\r
16 <java classname="Nameserver.Main" fork="true" classpathref="project.classpath">\r
17 <arg line="${args}"/>\r
18 </java>\r
19 </target>\r
20 <target name="run-fs" depends="compile" description="Run fileserver.">\r
21 <java classname="Fileserver.Main" fork="true" classpathref="project.classpath">\r
22 <arg line="${args}"/>\r
23 </java>\r
24 </target>\r
25 <target name="run-client" depends="compile" description="Run client.">\r
26 <java classname="Client.Main" fork="true" classpathref="project.classpath"/>\r
27 </target>\r
28 <target name="rebuild" depends="clean, compile" description="Clean and build products."/>\r
29 <target name="clean" description="Clean build products.">\r
30 <delete dir="${build.dir}"/>\r
31 </target>\r
32 </project>