comparison build.xml @ 685:9897cbfd2790

Towards ssh remote repositories: use ganymed library for ssh transport
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 25 Jul 2013 21:32:09 +0200
parents d25f0324a27a
children e970b333f284
comparison
equal deleted inserted replaced
684:2353e4217f59 685:9897cbfd2790
24 * samples - few command-line counterparts to demonstrate basic capabiliites 24 * samples - few command-line counterparts to demonstrate basic capabiliites
25 * rebuild - clean build 25 * rebuild - clean build
26 </description> 26 </description>
27 27
28 <property name="junit.jar" value="lib/junit-4.8.2.jar" /> 28 <property name="junit.jar" value="lib/junit-4.8.2.jar" />
29 <property name="ssh.jar" value="lib/ganymed-ssh2-build251beta1.jar" />
29 <property name="ver.qualifier" value="" /> 30 <property name="ver.qualifier" value="" />
30 <property name="version.lib" value="1.2" /> 31 <property name="version.lib" value="1.2" />
31 <property name="version.jar" value="${version.lib}${ver.qualifier}" /> 32 <property name="version.jar" value="${version.lib}${ver.qualifier}" />
32 <property name="compile-with-debug" value="yes"/> 33 <property name="compile-with-debug" value="yes"/>
33 34
142 </delete> 143 </delete>
143 </target> 144 </target>
144 145
145 <target name="build-lib"> 146 <target name="build-lib">
146 <mkdir dir="bin" /> 147 <mkdir dir="bin" />
147 <javac srcdir="src" destdir="bin" debug="${compile-with-debug}" includeantruntime="no" source="1.5" encoding="UTF-8"/> 148 <javac srcdir="src" destdir="bin" debug="${compile-with-debug}" includeantruntime="no" source="1.5" encoding="UTF-8">
149 <classpath>
150 <pathelement location="${ssh.jar}"/>
151 </classpath>
152 </javac>
148 <jar destfile="${hg4j.jar}"> 153 <jar destfile="${hg4j.jar}">
149 <fileset dir="bin/"> 154 <fileset dir="bin/">
150 <include name="org/tmatesoft/hg/core/**" /> 155 <include name="org/tmatesoft/hg/core/**" />
151 <include name="org/tmatesoft/hg/util/**" /> 156 <include name="org/tmatesoft/hg/util/**" />
152 <include name="org/tmatesoft/hg/repo/**" /> 157 <include name="org/tmatesoft/hg/repo/**" />