You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by udi <uk...@hotmail.com> on 2007/07/26 12:47:46 UTC

Build Script and Subversion

Hello

***We have the present ANT script which is running locally (Every time
project stuff has been checkout from Subversion (using TortoiseSVN GUI
Software) in D:\project-trunk folder and then ANT build script is taking the
stuff from D:\project-trunk folder, compile it and deploy...(Everything is
running perfectly).

Now I have been asked to integrate present ANT Build script with Subversion
to run the above task Automatically (without manually update the project
through TortoiseSVN software).

The requirement is to Add our project(project-trunk) in Subversion
Repository, So ANT script will check-out or update the entire project stuff
and copy it on build machine D:\project-trunk folder for further processing.

Check-out the Entire Project stuff from Subversion Repository will be very
much time-consuming activity Because I have an almsot 1.2 GB size for
project,  so I decided to check-out porject stuff at first time only (which
already done) and now just run update task every-time (through ANT script)
to taking the updates only. 

Is it possible to updating project from Subversion Repository for every-time
build run? Is it any svn update task available to achieve this?

I have already Add my project into the Subversion Repository.
url - "http://coconet-svn-in.server01.com/svn/repository/project-trunk"

SVN Command Line Software is installed on Build Machine
(svn-1.2.0-setup.exe).

Questions - 
1) I didn't find (SVNClientAdapter.jar, svnjavahl.jar and svnant.jar in the
SVN Client Software Package (where I will get this files)? Where I need to
copy these jar files?

2) Do I need any more software to install for achieved above task?

3) How to connect to the Subversion Repository (from build script) to taking
update? Any other options?

Apache Software is running - C:\apache-ant-1.7.0 and %ANT_HOME% has been set
it on classpath.

As I said ***My present ANT script is taking stuff from D:\project-trunk and
compile then deploy it (perfectly..)

So for the Subversion Task, I think I just want to add one more step is
updating the D:\project-trunk project from Subversion Repository then build
script will start the further processing (as it is running now).

Can anyone please help to achieve the above task?

Does anyone has SVNscript to update the project stuff from Subversion
Repository?

If possible can anyone please provide me sample build.properties/build.xml
files?

Is any more libraries/software required for these tasks?

Thanks in Advanced.
-- 
View this message in context: http://www.nabble.com/Build-Script-and-Subversion-tf4151419.html#a11809779
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

Re: Build Script and Subversion

Posted by Andy Levy <an...@gmail.com>.
On 7/26/07, udi <uk...@hotmail.com> wrote:
>
> Hello
>
> ***We have the present ANT script which is running locally (Every time
> project stuff has been checkout from Subversion (using TortoiseSVN GUI
> Software) in D:\project-trunk folder and then ANT build script is taking the
> stuff from D:\project-trunk folder, compile it and deploy...(Everything is
> running perfectly).
>
> Now I have been asked to integrate present ANT Build script with Subversion
> to run the above task Automatically (without manually update the project
> through TortoiseSVN software).
>
> The requirement is to Add our project(project-trunk) in Subversion
> Repository, So ANT script will check-out or update the entire project stuff
> and copy it on build machine D:\project-trunk folder for further processing.
>
> Check-out the Entire Project stuff from Subversion Repository will be very
> much time-consuming activity Because I have an almsot 1.2 GB size for
> project,  so I decided to check-out porject stuff at first time only (which
> already done) and now just run update task every-time (through ANT script)
> to taking the updates only.
>
> Is it possible to updating project from Subversion Repository for every-time
> build run? Is it any svn update task available to achieve this?
>
> I have already Add my project into the Subversion Repository.
> url - "http://coconet-svn-in.server01.com/svn/repository/project-trunk"
>
> SVN Command Line Software is installed on Build Machine
> (svn-1.2.0-setup.exe).

You really ought to get upgraded. Subversion is at 1.4.4 now, 1.2
isn't even supported anymore, and some great improvements have been
made since 1.2 came out.

> Questions -
> 1) I didn't find (SVNClientAdapter.jar, svnjavahl.jar and svnant.jar in the
> SVN Client Software Package (where I will get this files)? Where I need to
> copy these jar files?

Nope, you won't find them as part of the standard Subversion
distribution. Try http://subclipse.tigris.org/svnant.html . But you
really ought to at least have Subversion upgraded to the same version
number that SVNAnt tracks.

> 2) Do I need any more software to install for achieved above task?

I don't think so, but check the documentation to be sure.

> 3) How to connect to the Subversion Repository (from build script) to taking
> update? Any other options?

Start at http://subclipse.tigris.org/svnant/svn.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org