Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Version Control System
Index -> Programming, Java -> Java Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Stork




PostPosted: Wed Mar 01, 2006 11:40 am   Post subject: Version Control System

This here is a java program for managing your program's versions.
When you run the program, it checks a website to see the latest version. If you're out of date, it then downloads the latest version and (if it's a .zip file) unzips it. Simple and effective.

Requirements:
Web hosting for your programs versions and the version file.

Can be downloaded at http://storkme.org/vcs - readme is included. It also has a .bat & .sh script to update the program itself should it need updating. It's fully maintained by me.

A config file looks something like this:
code:
# The common vcs file, where we check for the latest version
Latest_Version http://site.com/Latest.vcs

# The (http) URL of the latest version of your project.
# We use % to represent the version. E.G.
# if the URL is http://site.com/project-*.jar and the
# version is 1.0.3 then VCS will attempt to download
# http://site.com/project-1.0.3.jar
Download_URL http://site.com/project-*.jar

# The current version of your project that we have
Cur_Version 1.0.6

# Where you want the files to be extracted to (if it's a zip
# archive.) If not, it will just be saved there.
Destination_Dir ./build/

I use it to manage all my projects. It's nothing special but it's kind of useful.
I recently updated it to include a gui panel for displaying how far through the download we are. This doesn't really matter for smaller files, but for larger ones it might help Very Happy
When I get some time I'll comment a lot of the code and update it.

If you have any suggestions please post here.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Java -> Java Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: