Solved

Programatically deploying SVN files?

Posted on 2011-09-27
4
546 Views
Last Modified: 2012-06-27
Have an SVN repository. It has a TRUNK with all the production code and a branch for each release. The release code is then copied to production and merged back to to the TRUNK once validated as working during a deployment. We use a spreadsheet to to communicate the exact version number to have promoted to production.

My idea is to write a script in Perl, Java, or possibly even Visual Basic to read the spreadsheet and deploy the files.

So I'm wondering if there are any APIs or modules out that can connect to SVN and retrieve and copy a specific file (from a specific branch with a specific version number) to a specific final location? This is all in MS Windows. I just have not been able to find anything.

I also know there are better ways to handle SVN than the method being used, but please keep the answers to what I'm asking for vs. suggesting better ways to handle SVN. Thanks!
0
Comment
Question by:KGNickl
  • 2
4 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 36712720

this is a Java subversion client:

http://jsvn.alternatecomputing.com/

I am not sure if it is really operational (seems old site) but jar file is downloadable
0
 
LVL 47

Assisted Solution

by:for_yan
for_yan earned 250 total points
ID: 36712738

This seesm to be newer:

http://svnkit.com/
0
 
LVL 9

Accepted Solution

by:
Suhas . earned 250 total points
ID: 36813099
For perl you can try the modules:

Alein::SVN
SVN::Client
0
 
LVL 5

Author Closing Comment

by:KGNickl
ID: 36816318
SVN::Client seems like it might be a great module to help in scripting this.

Not sure about SVNKit, but looks like it could be a good solution. Didn't feel like digging into the website to find out.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Html Table Looping (part 2) 5 27
VBScript on Html 15 47
Connecting The Dots from Range Value to Listbox ListIndex 11 24
Tagging and Merging on Branch 1 30
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question