view build.xml @ 159:f5aed108754e wrap-data-access

Approach with DataAccess instead of plain byte[] was merged into default branch
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 09 Mar 2011 13:28:02 +0100
parents d6d2a630f4a6
children 993f6f8e1314
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<project name="hgkit" default="samples">
    <description>
            description
    </description>

    <target name="samples" depends="build">
    	
    	<echo message="History of a specific file(s)"/>
    	<java classpath="hgkit.jar" classname="com.tmate.hgkit.console.Log">
    		<arg line="design.txt .classpath src/com/tmate/hgkit/ll/LocalHgRepo.java"/>
    	</java>
    	
    	<echo message="Whole repo log"/>
    	<java classpath="hgkit.jar" classname="com.tmate.hgkit.console.Log"/>
    	
    	<echo message="Content of a file"/>
    	<java classpath="hgkit.jar" classname="com.tmate.hgkit.console.Cat">
    		<arg line="src/com/tmate/hgkit/ll/Revlog.java"/>
    	</java>

    </target>

    <target name="build">
    	<mkdir dir="bin"/>
    	<javac srcdir="src" destdir="bin"/>
    	<jar destfile="hgkit.jar" basedir="bin"/>
    </target>

</project>