[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn update..........

From: udi <ukulkarn_at_hotmail.com>
Date: 2007-07-27 14:30:14 CEST

Hello,

I have already checkout my Project Subversion Repository in the build server
at "D:\project-tunk" location using svn command client.

Now I want to run "svn update" tasks for every-time when build runs instead
of check-out entire stuff again. Because our project size is 1.2GB and it is
very time-consuming process to check-out complete repository over the
Internet if only even a single character has changed.

So, whenever build run it will just taking the update from SubVersion
Repository and start furthere process.

I tried to update the project repository using below command but its gaves
me error :-
<svn username="guest" password="Pass">
<update url="https://coconet-svn-in-.char.com/svn/rep/project-trunk" />
</svn>

ERROR:-
D:\MinBedrift\build.xml:37: update doesn't support the "url" attribute

Here are the my build.xml for the reference.
<property name="svnant.jar" value="${svnant}/svnant.jar"/>
<property name="svnClientAdapter.jar"
value="${svnant}/svnClientAdapter.jar"/>
<property name="svnjavahl.jar" value="${svnant}/svnjavahl.jar"/>

<property name="svnant.lib" value="lib" />
<property name="svnant.jar" value="${svnant.lib}/svnant.jar" />
<property name="svnClientAdapter.jar"
value="${svnant.lib}/svnClientAdapter.jar" />
<property name="svnjavahl.jar" value="${svnant.lib}/svnjavahl.jar" />

<path id="project.classpath">
<pathelement location="${svnjavahl.jar}" />
<pathelement location="${svnant.jar}" />
<pathelement location="${svnClientAdapter.jar}" />
</path>

<taskdef resource="svntask.properties" classpathref="project.classpath"/>

<svn username="ukulkarn" password="Pass-123">
<update url="http://subclipse.tigris.org/svn/subclipse/trunk/svnant/"
revision="HEAD" destPath="D:\\MinBedrift" />
</svn>

Does anybody is having sample "svn update" script to taking the update from
Subversion Repository?

Please provide some guidelines or any sample script.

Thanks...you help will be more appreciated...

-- 
View this message in context: http://www.nabble.com/svn-update..........-tf4157481.html#a11828280
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 27 14:29:06 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.