Solved

Programatically deploying SVN files?

Posted on 2011-09-27
4
543 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java Jpanels and Jframe 8 28
what is a "java.lang.System Property"   ? 20 57
Java Options in Zimbra Server 2 47
web services creation SOAP vs REST 5 21
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

863 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

18 Experts available now in Live!

Get 1:1 Help Now