comparison build.xml @ 6:5abe5af181bd

Ant script to build commands and run sample
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 22 Dec 2010 03:33:37 +0100
parents
children 286d221f6c28
comparison
equal deleted inserted replaced
5:fc265ddeab26 6:5abe5af181bd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="hgkit" default="samples">
3 <description>
4 description
5 </description>
6
7 <target name="samples" depends="build">
8
9 <echo message="History of a specific file"/>
10 <java classpath="hgkit.jar" classname="com.tmate.hgkit.console.Log">
11 <arg line="design.txt"/>
12 </java>
13
14 <echo message="Whole repo log"/>
15 <java classpath="hgkit.jar" classname="com.tmate.hgkit.console.Log"/>
16
17 <echo message="Content of a file"/>
18 <java classpath="hgkit.jar" classname="com.tmate.hgkit.console.Cat">
19 <arg line="design.txt"/>
20 </java>
21
22 </target>
23
24 <target name="build">
25 <javac srcdir="src" destdir="bin"/>
26 <jar destfile="hgkit.jar" basedir="bin"/>
27 </target>
28
29 </project>