My favorites | Sign in
Project Logo
                
Code license: Apache License 2.0
Labels: svn, ant, java
Show all Featured downloads:
svntask-1.0.7.zip
Blogs:
Feeds:
People details
Project owners:
  latchkey, whichever

Introduction

svntask is a super simple solution for using svn from ant. Unfortunately, nobody has come up with a good solution until now. At work, instead of using version numbers for our releases, we just use our svn revision number. We needed an easy way to get that number from ant.

SvnAnt is the alternative to this project. However, there are still a good reason why I like this project better. I don't care about and don't want to mess with native library access javahl or command line access. I just want a 100% Java solution that uses the nice svnkit library. Include two simple jar files and go.

In the future, if I need more features, I'll add them. Or, you are welcome to file a new issue with a patch. If you file a patch, make sure you write clean code and format it the same way that I've formatted it so that integrating it is just a small amount of work for me.

If you feel like making a small beer money donation to me for spending many hours working on this project, you can donate by clicking the button below. No amount is too large or too small.

Usage

<target name="version">
	<typedef resource="com/googlecode/svntask/svntask.xml">
		<classpath>
			<fileset dir="${base.dir}/lib">
				<include name="svnkit.jar"/>
				<include name="svntask.jar"/>
			</fileset>
		</classpath>
	</typedef>

        <!-- Do an update first to make sure you have the latest version -->
	<svn><update path="." force="true" recursive="true" /></svn>

	<svn><info path="." revisionProperty="revisionVersion" /></svn>
	<property name="version" value="${revisionVersion}" />
</target>

Releases

1.0.7 - June 25, 2009

1.0.6 - June 25, 2009

1.0.5 - June 3, 2009

1.0.4 - May 30th, 2009

1.0.3 - July 15th, 2008

1.0.2 - July 11th, 2008

1.0.1 - July 1st, 2008

1.0 - June 27th, 2008









Hosted by Google Code