<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ashish Kulkarni &#187; svnant</title>
	<atom:link href="http://www.ashishkulkarni.com/tags/svnant/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ashishkulkarni.com</link>
	<description>Ashish Kulkarni&#039;s website on OpenSource Technology, Java, PHP, JBoss, Seam, Yii, Scotland, UK, Photography and more...</description>
	<lastBuildDate>Fri, 02 Oct 2009 20:40:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>svnant &#8211; Using SVN with ANT</title>
		<link>http://www.ashishkulkarni.com/svnant-using-svn-with-ant/</link>
		<comments>http://www.ashishkulkarni.com/svnant-using-svn-with-ant/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 10:26:58 +0000</pubDate>
		<dc:creator>ashish</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[svnant]]></category>

		<guid isPermaLink="false">http://www.ashishkulkarni.com/?p=22</guid>
		<description><![CDATA[What you will need to get the ANT svn task to work is:
JDK 1.5/1.6 &#8211; You can get that here.
ANT &#8211; You can get that here.
SVN client &#8211; You can get that here. You will need to register for this.
SvnAnt zip file &#8211; You can get that here.
Here is what to do:
Install JDK if you [...]]]></description>
			<content:encoded><![CDATA[<p>What you will need to get the ANT svn task to work is:</p>
<p>JDK 1.5/1.6 &#8211; You can get that <a href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">here</a>.<br />
ANT &#8211; You can get that <a href="http://ant.apache.org/" target="_blank">here</a>.<br />
SVN client &#8211; You can get that <a href="http://www.collab.net/downloads/subversion/" target="_blank">here</a>. You will need to register for this.<br />
SvnAnt zip file &#8211; You can get that <a href="http://subclipse.tigris.org/svnant.html" target="_blank">here</a>.</p>
<p>Here is what to do:</p>
<p>Install JDK if you haven&#8217;t done so already.<br />
Install ANT (simply unzip the ANT zip file into an appropriate place) if you haven&#8217;t done so already.<br />
Install SVN Client.<br />
Install SvnAnt (simply unzip the SvnAnt zip file into an appropriate place).</p>
<p>To use the ANT svn task:</p>
<p><strong>build.properties:</strong><br />
<code># -----------------------------------------------------------------------------<br />
# build.properties<br />
# This file is referenced by the sample build.xml file.<br />
# -----------------------------------------------------------------------------</code></p>
<p>svnant.version=1.0.0</p>
<p># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
# all jar needed<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
lib.dir=C:/svnant-1.0.0/lib<br />
svnant.jar=${lib.dir}/svnant.jar<br />
svnClientAdapter.jar=${lib.dir}/svnClientAdapter.jar<br />
svnjavahl.jar=${lib.dir}/svnjavahl.jar</p>
<p>svnant.latest.url=http://subclipse.tigris.org/svn/subclipse/trunk/svnant/<br />
svnant.this.url=http://subclipse.tigris.org/svn/subclipse/tags/svnant/${svnant.version}/</p>
<p>svnant.repository.user=user1<br />
svnant.repository.passwd=&#8221;passwordUser1&#8243;</p>
<p><strong>build.xml:</strong><br />
<code>&lt;?xml version="1.0"?&gt;</code></p>
<p><code>&lt;project name="Update" basedir="." default="update"&gt;<br />
 <br />
  &lt;!--  all properties are in build.properties --&gt;<br />
  &lt;property file="build.properties" /&gt;<br />
  &lt;path id="project.classpath"&gt;<br />
    &lt;pathelement location="${svnjavahl.jar}" /&gt;<br />
    &lt;pathelement location="${svnant.jar}" /&gt;<br />
    &lt;pathelement location="${svnClientAdapter.jar}" /&gt;<br />
  &lt;/path&gt;<br />
  &lt;property name="project.svn.url" value="SVN_URL_HERE" /&gt;<br />
 <br />
  &lt;taskdef resource="svntask.properties" classpathref="project.classpath"/&gt;<br />
 <br />
  &lt;target name="update"&gt;<br />
    &lt;svn&gt;<br />
      &lt;checkout url="${project.svn.url}" revision="HEAD" destPath="." /&gt;<br />
    &lt;/svn&gt;<br />
  &lt;/target&gt;</p>
<p>&lt;/project&gt;</code></p>
<p>You can get detailed documentation on svn ANT task <a href="http://subclipse.tigris.org/svnant/svn.html" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashishkulkarni.com/svnant-using-svn-with-ant/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
