Permalink
Browse files

Added svnant to use svn in ant

  • Loading branch information...
1 parent 8591703 commit 524f1c098c019247d9c8a4e6b94ee36c1cf254e6 Rene Moser committed Jan 11, 2010
@@ -0,0 +1,57 @@
+Copyright (c) 2005 - 2006 Swiss Federal Institute of Technology (ETH Zurich),
+ Department of Computer Science (http://www.inf.ethz.ch),
+ Christian Plattner. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+a.) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+b.) Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+c.) Neither the name of ETH Zurich nor the names of its contributors may
+ be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+
+The Java implementations of the AES, Blowfish and 3DES ciphers have been
+taken (and slightly modified) from the cryptography package released by
+"The Legion Of The Bouncy Castle".
+
+Their license states the following:
+
+Copyright (c) 2000 - 2004 The Legion Of The Bouncy Castle
+(http://www.bouncycastle.org)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
@@ -0,0 +1,47 @@
+The TMate License
+
+This license applies to all portions of TMate SVNKit library, which
+are not externally-maintained libraries (e.g. Ganymed SSH library).
+
+All the source code and compiled classes in package org.trigris.subversion.javahl
+except SvnClient class are covered by the license in JAVAHL-LICENSE file
+
+Copyright (c) 2004-2006 TMate Software. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Redistributions in any form must be accompanied by information on how to
+ obtain complete source code for the software that uses SVNKit and any
+ accompanying software that uses the software that uses SVNKit. The source
+ code must either be included in the distribution or be available for no
+ more than the cost of distribution plus a nominal fee, and must be freely
+ redistributable under reasonable conditions. For an executable file, complete
+ source code means the source code for all modules it contains. It does not
+ include source code for modules or files that typically accompany the major
+ components of the operating system on which the executable file runs.
+
+ * Redistribution in any form without redistributing source code for software
+ that uses SVNKit is possible only when such redistribution is explictly permitted
+ by TMate Software. Please, contact TMate Software at support@svnkit.com to
+ get such permission.
+
+THIS SOFTWARE IS PROVIDED BY TMATE SOFTWARE ``AS IS'' AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE
+DISCLAIMED.
+
+IN NO EVENT SHALL TMATE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,17 @@
+# -----------------------------------------------------------------------------
+# build.properties
+# This file is referenced by the sample build.xml file.
+# -----------------------------------------------------------------------------
+
+svnant.version=1.3.0
+
+# -----------------------------------------------------------------------------
+# all jar needed
+# -----------------------------------------------------------------------------
+lib.dir=lib
+
+svnant.latest.url=http://subclipse.tigris.org/svn/subclipse/trunk/svnant/
+svnant.this.url=http://subclipse.tigris.org/svn/subclipse/tags/svnant/${svnant.version}/
+
+svnant.repository.user=guest
+svnant.repository.passwd=""
View
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!-- Sample build file used to retrieve svnant's sources -->
+<project name="svn-test" basedir="." default="checkoutThis">
+
+ <!-- all properties are in build.properties -->
+ <property file="build.properties" />
+
+ <!-- path to the svnant libraries. Usually they will be located in ANT_HOME/lib -->
+ <path id="svnant.classpath">
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+ <!-- load the svn task -->
+ <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant.classpath" />
+
+ <target name="clean">
+ <delete dir="src_latest"/>
+ <delete dir="src_${svnant.version}"/>
+ </target>
+
+ <target name="checkoutLatest">
+ <svn username="${svnant.repository.user}" password="${svnant.repository.passwd}">
+ <checkout url="${svnant.latest.url}" revision="HEAD" destPath="src_latest" />
+ </svn>
+ </target>
+
+ <target name="checkoutThis">
+ <svn username="${svnant.repository.user}" password="${svnant.repository.passwd}">
+ <checkout url="${svnant.this.url}" revision="HEAD" destPath="src_${svnant.version}" />
+ </svn>
+ </target>
+
+</project>
@@ -0,0 +1,29 @@
+* 1.2.1
+- Built against svnClientAdapter r4107, Subversion 1.5.x, SVNKit 1.2.x
+- fixed remote info bug
+- fixed svnkit exists task
+- added cleanup task
+
+* 1.2-rc1
+- Built against svnClientAdapter r3957, Subversion 1.5, SVNKit 1.20 beta4
+
+* 1.1-rc3
+- Built against svnClientAdapter r2847, Subversion 1.4.2 and SVNKit 1.1.0
+- renamed references to JavaSVN (former name of SVNKit)
+- renamed the svn task attribute "javasvn" to "svnkit"
+
+* 1.1-rc2
+- Built against svnClientAdapter r2834 and Subversion 1.4.0,
+ incorporating numerous bug fixes and improvements from both.
+- Added support for javasvn adapter
+- Added the "url" option to <propget> command
+- Added the "lastChangedDateProperty" to <status> command
+- Added the "dateFormatter" attribute to <svn> task
+- Added the "failonerror" attribute to <svn> task and svn selectors
+- Added the <wcVersion> command
+- Added the <log> command
+- Added svn related selectors
+- Added SvnFileSet type
+- Added the force option to <add> command
+
+* 1.0.0
Oops, something went wrong.

0 comments on commit 524f1c0

Please sign in to comment.