ant script for svn checkout

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
saamathur
Posts: 1
Joined: 2014-03-27 12:34:28

ant script for svn checkout

Post by saamathur »

i have written the below build script to take the checkout from svn but its not working. please help me out.

<?xml version="1.0" encoding="iso-8859-1"?>

<project name="test" basedir="." >
<path id="path.svnant">
<pathelement location="/lib/svnant.jar" />
<pathelement location="/lib/svnClientAdapter.jar" />
<pathelement location="/lib/svnjavahl.jar" />
</path>
<target name="checkout-codebase">
<property name="svn.username" value="abs"/>
<property name="svn.password" value="abs123"/>
<property name="svn.url" value="Path-to-svn-trunk-folder"/>
<property name="project.code" value="./Mbuild"/>

<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="path.svnant" />

<svnSetting svnkit="true" javahl="false" id="svn.settings" username="${svn.username}" password="${svn.password}"/>
<svn refid="svn.settings">
<checkout url="${svn.url}" revision="HEAD" destpath="${project.code}" />
</svn>
</target>

Thanks
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

:??: what does this have to do with Ant Movie Catalog?
Post Reply