Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Slightly OT: Version Control Software For Java

Reply
Thread Tools

Slightly OT: Version Control Software For Java

 
 
cppaddict
Guest
Posts: n/a
 
      01-30-2006
Hi,

A custom Java app (of a few hundred class files) is installed on a
number of computers in my home, as well as on my work computer. I make
changes to it (almost daily) that affect only a few small files. I'd
like to find a (preferably free) program that can do something like
the following:

I make a change, then click "update on server." The program sends any
modified files (and only modified files) to my web server (whose ftp
or ssh information i will have configured in the program).

Now, when I am on any of computers (which would also have the program
I'm looking for installed), I just click "sync to latest version" and
it downloads the new files from my server.

I'm sure subversion could do what I want, but it seems like overkill
and looks difficult to learn.

Can anyone suggest a simple solution or simpler software?

Thanks in advance,
cpp
 
Reply With Quote
 
 
 
 
Patrick May
Guest
Posts: n/a
 
      01-30-2006
cppaddict <> writes:
> I'd like to find a (preferably free) program that can do something
> like the following:
>
> I make a change, then click "update on server." The program sends
> any modified files (and only modified files) to my web server (whose
> ftp or ssh information i will have configured in the program).
>
> Now, when I am on any of computers (which would also have the
> program I'm looking for installed), I just click "sync to latest
> version" and it downloads the new files from my server.
>
> I'm sure subversion could do what I want, but it seems like overkill
> and looks difficult to learn.


Subversion does, indeed, do exactly what you want (aside from
that clicky stuff -- use a command line like a real programmer). It's
also one of the easier source code control systems to learn -- not as
simple as SCCS perhaps, but far simpler than ClearCase.

Read the Subversion book sections on setting up a repository,
importing existing files, checking out, updating, and committing.
That should be all you need to start.

Regards,

Patrick

------------------------------------------------------------------------
S P Engineering, Inc. | The experts in large scale distributed OO
| systems design and implementation.
| (C++, Java, Common Lisp, Jini, CORBA, UML)
 
Reply With Quote
 
 
 
 
Francesco Devittori
Guest
Posts: n/a
 
      01-30-2006
cppaddict wrote:
> Hi,
>
> A custom Java app (of a few hundred class files) is installed on a
> number of computers in my home, as well as on my work computer. I make
> changes to it (almost daily) that affect only a few small files. I'd
> like to find a (preferably free) program that can do something like
> the following:
>
> I make a change, then click "update on server." The program sends any
> modified files (and only modified files) to my web server (whose ftp
> or ssh information i will have configured in the program).
>
> Now, when I am on any of computers (which would also have the program
> I'm looking for installed), I just click "sync to latest version" and
> it downloads the new files from my server.
>
> I'm sure subversion could do what I want, but it seems like overkill
> and looks difficult to learn.
>
> Can anyone suggest a simple solution or simpler software?
>
> Thanks in advance,
> cpp


In fact subversion is not difficult at all. Once you have it installed
on the server, you simply do

svn checkout https://your-host/your_repository

to get the latest version ('svn update' if you already have an older
version), and

svn commit

to submit your changes. You can also install something like trac on the
server to keep track of your changes. There is also tortoise svn
(http://tortoisesvn.tigris.org/) which is a graphical frontend to
subversion.

In my opinion once you learn how to use subversion you'll feel lost when
working on a project without it!

Francesco
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      01-30-2006
On Mon, 30 Jan 2006 06:14:12 GMT, cppaddict <> wrote,
quoted or indirectly quoted someone who said :

>I make a change, then click "update on server." The program sends any
>modified files (and only modified files) to my web server (whose ftp
>or ssh information i will have configured in the program).


I use NetLoad for that. they are no longer supporting it but I think
they will still sell a copy. see
http://mindprod.com/jgloss/netload.html

One of my student projects is about writing a decent FTP upload. See
http://mindprod.com/projects/smartftp.html
My irritation level right now with other people's FTP uploaders is
about 9 of 10. It will likely be the next major project I on my own
time.

If you have the right to run code on your server, see rsync. See
http://mindprod.com/jgloss/rsync.html


--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
Thomas Weidenfeller
Guest
Posts: n/a
 
      01-30-2006
cppaddict wrote:
> A custom Java app (of a few hundred class files) is installed on a
> number of computers in my home, as well as on my work computer. I make
> changes to it (almost daily) that affect only a few small files. I'd
> like to find a (preferably free) program that can do something like
> the following:
>
> I make a change, then click "update on server." The program sends any
> modified files (and only modified files) to my web server (whose ftp
> or ssh information i will have configured in the program).
>
> Now, when I am on any of computers (which would also have the program
> I'm looking for installed), I just click "sync to latest version" and
> it downloads the new files from my server.
>
> I'm sure subversion could do what I want, but it seems like overkill
> and looks difficult to learn.
>
> Can anyone suggest a simple solution or simpler software?


It's not clear from your description if you want to manage source files
or compiled .class files.

For class files: Install the application via web start on your client
computers, and provide the updates via web start if the application has
changed.

For source files, it sounds as if you want a central repository. Among
the commonly used free version control systems this doesn't rule out
RCS, but it need wrappers to so. Which leaves CVS and Subversion. I
would go for Subversion. CVS can be extremely annoying when it comes to
such simple things as renaming a file.

/Thomas
--
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/...g/java/gui/faq
http://www.uni-giessen.de/faq/archiv....java.gui.faq/
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      01-30-2006
On 30 Jan 2006 07:04:21 +0000, Patrick May <> wrote, quoted
or indirectly quoted someone who said :

> Subversion does, indeed, do exactly what you want (aside from
>that clicky stuff -- use a command line like a real programmer). It's
>also one of the easier source code control systems to learn -- not as
>simple as SCCS perhaps, but far simpler than ClearCase.


for links to comparison charts see
http://mindprod.com/jgloss/versioncontrol.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      01-30-2006
On Mon, 30 Jan 2006 07:30:47 GMT, Roedy Green
< > wrote, quoted or
indirectly quoted someone who said :

>I use NetLoad for that. they are no longer supporting it but I think
>they will still sell a copy. see
>http://mindprod.com/jgloss/netload.html


this is for publishing stuff to the world. I also use the Replicator.
See http://mindprod.com/webstarts/replicator.html

But if what you are really doing is trying to keep source code
listings in sync with backup, you need a proper version control
system.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
Hendrik Maryns
Guest
Posts: n/a
 
      01-30-2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick May schreef:
> cppaddict <> writes:
>> I'd like to find a (preferably free) program that can do something
>> like the following:
>>
>> I make a change, then click "update on server." The program sends
>> any modified files (and only modified files) to my web server (whose
>> ftp or ssh information i will have configured in the program).
>>
>> Now, when I am on any of computers (which would also have the
>> program I'm looking for installed), I just click "sync to latest
>> version" and it downloads the new files from my server.
>>
>> I'm sure subversion could do what I want, but it seems like overkill
>> and looks difficult to learn.

>
> Subversion does, indeed, do exactly what you want (aside from
> that clicky stuff -- use a command line like a real programmer). It's
> also one of the easier source code control systems to learn -- not as
> simple as SCCS perhaps, but far simpler than ClearCase.
>
> Read the Subversion book sections on setting up a repository,
> importing existing files, checking out, updating, and committing.
> That should be all you need to start.


And if you are using Eclipse, there is an excellent plugin (Subversion),
which does all of this stuff for you. Only getting the server going is
a bit cumbersome.

H.

- --
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD3gMke+7xMGD3itQRArJyAJkBAxs8AjZKCYijXx8mLt LVfKFmlgCcD3Vu
9PFff9q1wcI/W/pvPRH54rw=
=PAww
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Jeffrey Schwab
Guest
Posts: n/a
 
      01-30-2006
cppaddict wrote:
> Hi,
>
> A custom Java app (of a few hundred class files) is installed on a
> number of computers in my home, as well as on my work computer. I make
> changes to it (almost daily) that affect only a few small files. I'd
> like to find a (preferably free) program that can do something like
> the following:
>
> I make a change, then click "update on server." The program sends any
> modified files (and only modified files) to my web server (whose ftp
> or ssh information i will have configured in the program).
>
> Now, when I am on any of computers (which would also have the program
> I'm looking for installed), I just click "sync to latest version" and
> it downloads the new files from my server.
>
> I'm sure subversion could do what I want, but it seems like overkill


So what? Having support for features you don't yet need, but are likely
to need in the future, is unlikely to hurt you.

> and looks difficult to learn.


It's not. I just use it to hold all those little throw-away scripts,
some of which I realize I need again several months later. Subversion
does seem to get confused about what's in my sandbox now and then
(beyond what svn cleanup can fix), but I've not lost any data to it in
the year I've been using it.
 
Reply With Quote
 
cppaddict
Guest
Posts: n/a
 
      01-31-2006
Just wanted to say thanks to everyone who replied. I think I'll find
everything I need starting here....

cpp
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
[slightly OT] any eclipse plugin/support for version/revision/date-time update? nospawn Java 0 04-07-2006 05:56 PM
Software Development - Slightly off topic Paul Kraus Perl 1 08-14-2003 10:20 AM



Advertisments