Solved

Programatically deploying SVN files?

Posted on 2011-09-27
4
541 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
Comment Utility

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
Comment Utility

This seesm to be newer:

http://svnkit.com/
0
 
LVL 9

Accepted Solution

by:
Suhas . earned 250 total points
Comment Utility
For perl you can try the modules:

Alein::SVN
SVN::Client
0
 
LVL 5

Author Closing Comment

by:KGNickl
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now