Skip to content
Browse files

update README and build.xml

  • Loading branch information...
1 parent 5d7011d commit d0941a7c6f4e18bb919afa2062a30288ddd6b134 @chripo committed Oct 30, 2011
Showing with 62 additions and 37 deletions.
  1. +9 −0 .gitignore
  2. +28 −0 README
  3. +0 −14 README.html
  4. +25 −23 build.xml
View
9 .gitignore
@@ -1 +1,10 @@
_eclipse
+build.properties
+jar.properties
+user.properties
+doc
+*.swp
+target/classes
+target/javadoc
+target/svntask-*
+target/*.jar
View
28 README
@@ -0,0 +1,28 @@
+svnkit based ant tasks
+fork from http://code.google.com/p/svntask/
+
+source http://git.christoph-polcin.com/ant/svntask
+
+version 1.0.8.1
+
+modification:
+- bundled with svnkit 1.3.6-v1
+- update Add command with fileset support
+- add svntask Auth support
+- added new commands
+
+available commands:
+- Add
+- Checkout
+- Commit
+- Info
+- Log
+- Ls
+- Status
+- Switch
+- Update
+- Cleanup
+- Copy
+- Delete
+- Mkdir
+- Unlock
View
14 README.html
@@ -1,14 +0,0 @@
-<html>
- <head>
- <title>README for SvnTask</title>
- </head>
-
- <body>
- <h1>README</h1>
-
- <p>
- For usage instructions and release notes, see <a href="http://code.google.com/p/svntask/">the homepage</a>.
- </p>
-
- </body>
-</html>
View
48 build.xml
@@ -1,23 +1,22 @@
<?xml version="1.0"?>
<!--
- $Id$
- $URL$
+ $Id: build.xml 25 2009-06-25 22:58:39Z latchkey $
+ $URL: https://svntask.googlecode.com/svn/trunk/build.xml $
-->
<project name="svntask" default="compile" basedir=".">
<property file="user.properties" />
- <property file="${user.home}/build.properties" />
<property file="build.properties" />
<property file="jar.properties" />
- <property name="base.dir" location="." />
+ <property name="base.dir" location="${basedir}" />
- <property name="build.dir" location="target" />
- <property name="build.javadoc.dir" location="${build.dir}/api" />
+ <property name="build.dir" location="${basedir}/target" />
+ <property name="build.javadoc.dir" location="${build.dir}/doc" />
- <property name="build.debug" value="on" />
- <property name="build.deprecation" value="on" />
+ <property name="build.debug" value="true" />
+ <property name="build.deprecation" value="true" />
<property name="ant.build.javac.target" value="1.5" />
<property name="ant.build.javac.source" value="1.5" />
@@ -33,33 +32,33 @@
<target name="javac" depends="init">
<mkdir dir="${build.dir}/classes"/>
- <javac
+ <javac
srcdir="${base.dir}/src"
- destdir="${build.dir}/classes"
+ destdir="${build.dir}/classes"
includeAntRuntime="false"
- debug="${build.debug}"
+ debug="${build.debug}"
source="${ant.build.javac.source}"
target="${ant.build.javac.target}"
deprecation="${build.deprecation}">
-
+
<classpath refid="svntask.classpath"/>
</javac>
- <copy file="${base.dir}/src/svntask.xml" todir="${build.dir}/classes/com/googlecode/svntask/" />
+ <copy file="${base.dir}/src/svntask.xml" todir="${build.dir}/classes/com/googlecode/svntask/" />
</target>
<target name="jar" depends="javac, version">
<jar jarfile="${build.dir}/svntask.jar">
<fileset dir="${build.dir}/classes" />
-
+
<manifest>
<attribute name="Specification-Version" value="${version}" />
<attribute name="Implementation-Version" value="${TODAY}" />
<attribute name="Main-Class" value="com.googlecode.svntask.Version" />
</manifest>
</jar>
</target>
-
+
<target name="javadoc" depends="init">
<property name="javadoc.dir" location="${build.dir}/javadoc" />
<mkdir dir="${javadoc.dir}"/>
@@ -77,7 +76,7 @@
</fileset>
<group title="svntask" packages="com.googlecode.svntask*"/>
<doctitle><![CDATA[<h1>svntask</h1>]]></doctitle>
- <bottom><![CDATA[<i>Copyright &#169; ${YEAR} Jon Scott Stevens. All Rights Reserved. Build version: ${version}</i>]]></bottom>
+ <bottom><![CDATA[<i>Copyright &#169; ${YEAR} Jon Scott Stevens, Christoph Polcin. All Rights Reserved. Build version: ${version}</i>]]></bottom>
</javadoc>
</target>
@@ -93,7 +92,7 @@
<pathelement path="${build.dir}/classes/"/>
</classpath>
</typedef>
- <svn><info path="." revisionProperty="revisionVersion" /></svn>
+ <!-- <svn><info path="." revisionProperty="revisionVersion" /></svn> -->
<property name="version" value="${revisionVersion}" />
</target>
@@ -105,11 +104,14 @@
</target>
<target name="clean">
- <delete dir="${build.dir}" />
+ <delete includeemptydirs="true">
+ <fileset dir="${build.dir}" includes="**/*"/>
+ </delete>
</target>
-
+
<target name="init-dist">
- <input addproperty="version" message="Version number?" />
+ <!-- <input addproperty="version" message="Version number?" /> -->
+ <property name="version" value="${revisionVersion}" />
<property name="dist.name" value="${name}-${version}" />
</target>
@@ -123,7 +125,7 @@
</fileset>
<fileset dir=".">
- <include name="README.html" />
+ <include name="README*" />
<include name="LICENSE.txt" />
<include name="build.xml" />
</fileset>
@@ -146,10 +148,10 @@
<include name="**" />
</fileset>
</copy>
-
+
<dirname property="build.dist.dir.dirname" file="${build.dist.dir}" />
<basename property="build.dist.dir.basename" file="${build.dist.dir}" />
-
+
<zip zipfile="${build.dist.zip}" basedir="${build.dist.dir.dirname}">
<include name="${build.dist.dir.basename}/**" />
</zip>

0 comments on commit d0941a7

Please sign in to comment.
Something went wrong with that request. Please try again.