Mercurial > jhg
annotate build.xml @ 30:de7217a0aa4d
Look up changes in the local repo that are not in the remote
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 11 Jan 2011 04:49:06 +0100 |
parents | d6d2a630f4a6 |
children | 993f6f8e1314 |
rev | line source |
---|---|
6
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
2 <project name="hgkit" default="samples"> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
3 <description> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
4 description |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
5 </description> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
6 |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
7 <target name="samples" depends="build"> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
8 |
9
d6d2a630f4a6
Access to underlaying file data wrapped into own Access object, implemented with FileChannel and ByteBuffer
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
7
diff
changeset
|
9 <echo message="History of a specific file(s)"/> |
6
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
10 <java classpath="hgkit.jar" classname="com.tmate.hgkit.console.Log"> |
9
d6d2a630f4a6
Access to underlaying file data wrapped into own Access object, implemented with FileChannel and ByteBuffer
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
7
diff
changeset
|
11 <arg line="design.txt .classpath src/com/tmate/hgkit/ll/LocalHgRepo.java"/> |
6
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
12 </java> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
13 |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
14 <echo message="Whole repo log"/> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
15 <java classpath="hgkit.jar" classname="com.tmate.hgkit.console.Log"/> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
16 |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
17 <echo message="Content of a file"/> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
18 <java classpath="hgkit.jar" classname="com.tmate.hgkit.console.Cat"> |
9
d6d2a630f4a6
Access to underlaying file data wrapped into own Access object, implemented with FileChannel and ByteBuffer
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
7
diff
changeset
|
19 <arg line="src/com/tmate/hgkit/ll/Revlog.java"/> |
6
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
20 </java> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
21 |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
22 </target> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
23 |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
24 <target name="build"> |
7
286d221f6c28
Explicit folder creation in the build.xml
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
6
diff
changeset
|
25 <mkdir dir="bin"/> |
6
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
26 <javac srcdir="src" destdir="bin"/> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
27 <jar destfile="hgkit.jar" basedir="bin"/> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
28 </target> |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
29 |
5abe5af181bd
Ant script to build commands and run sample
Artem Tikhomirov <tikhomirov.artem@gmail.com>
parents:
diff
changeset
|
30 </project> |