Packaging/version control  
Author Message
Lou Lipnickey





PostPosted: 2004-5-2 21:57:00 Top

java-programmer, Packaging/version control I'm developing a Swing program which I periodically update (change or
add classes or data files), weekly, to currently 2 people. The number of
people will eventually grow but the update frequency should decrease.
Currently, I'm putting the sources, classes, data files and a readme
file into a zip and sending it. The readme tells the users to either
compile or copy the classes over. There are ~25 .java files, ~75 .class
files and ~20 data files. This is time consuming, inconsistent and error
prone. I'm not using package statement or jars (currently). What are
people using and / or what would you recommend. - Thanks - Lou
 
Christophe Vanfleteren





PostPosted: 2004-5-2 23:20:00 Top

java-programmer >> Packaging/version control Lou Lipnickey wrote:

> I'm developing a Swing program which I periodically update (change or
> add classes or data files), weekly, to currently 2 people. The number of
> people will eventually grow but the update frequency should decrease.
> Currently, I'm putting the sources, classes, data files and a readme
> file into a zip and sending it. The readme tells the users to either
> compile or copy the classes over. There are ~25 .java files, ~75 .class
> files and ~20 data files. This is time consuming, inconsistent and error
> prone. I'm not using package statement or jars (currently). What are
> people using and / or what would you recommend. - Thanks - Lou

Java Webstart handles updates very nice. But you'll need a server online
constantly, which may not be possible for you.

--
Kind regards,
Christophe Vanfleteren
 
Tim Van Wassenhove





PostPosted: 2004-5-3 3:37:00 Top

java-programmer >> Packaging/version control In article <p67lc.2457$email***@***.com>, Lou Lipnickey wrote:
> I'm developing a Swing program which I periodically update (change or
> add classes or data files), weekly, to currently 2 people. The number of
> people will eventually grow but the update frequency should decrease.
> Currently, I'm putting the sources, classes, data files and a readme
> file into a zip and sending it. The readme tells the users to either
> compile or copy the classes over. There are ~25 .java files, ~75 .class
> files and ~20 data files. This is time consuming, inconsistent and error
> prone. I'm not using package statement or jars (currently). What are
> people using and / or what would you recommend. - Thanks - Lou

I've been using CVS for a few years and liked it.
Subversion seems to be very promising too.

--
http://home.mysth.be/~timvw
 
 
Lou Lipnickey





PostPosted: 2004-5-3 6:33:00 Top

java-programmer >> Packaging/version control What is subversion? I think I need something without a server. Almost
something like RPM (redhat package management). - Lou

Tim Van Wassenhove wrote:

> In article <p67lc.2457$email***@***.com>, Lou Lipnickey wrote:
>
>>I'm developing a Swing program which I periodically update (change or
>>add classes or data files), weekly, to currently 2 people. The number of
>>people will eventually grow but the update frequency should decrease.
>>Currently, I'm putting the sources, classes, data files and a readme
>>file into a zip and sending it. The readme tells the users to either
>>compile or copy the classes over. There are ~25 .java files, ~75 .class
>>files and ~20 data files. This is time consuming, inconsistent and error
>>prone. I'm not using package statement or jars (currently). What are
>>people using and / or what would you recommend. - Thanks - Lou
>
>
> I've been using CVS for a few years and liked it.
> Subversion seems to be very promising too.
>
 
 
Tim Van Wassenhove





PostPosted: 2004-5-3 7:25:00 Top

java-programmer >> Packaging/version control In article <email***@***.com>, Lou Lipnickey wrote:
> What is subversion? I think I need something without a server. Almost
> something like RPM (redhat package management). - Lou


http://subversion.tigris.org

For SVN as for CVS there are also nice Gui tools...
(Tortoise.sf.net if i remember well)
And more and more IDEs are getting built-in support too.

But for the distribution of binaries i agree that Java Webstart is a
nice solution...

--
http://home.mysth.be/~timvw
 
 
Lou Lipnickey





PostPosted: 2004-5-3 10:00:00 Top

java-programmer >> Packaging/version control It looks like I have reading up to do. I'm open for more suggestion.

Roedy Green wrote:

> On Sun, 02 May 2004 13:56:37 GMT, Lou Lipnickey
> <email***@***.com> wrote or quoted :
>
>
>>I'm developing a Swing program which I periodically update (change or
>>add classes or data files), weekly, to currently 2 people. The number of
>>people will eventually grow but the update frequency should decrease.
>>Currently, I'm putting the sources, classes, data files and a readme
>>file into a zip and sending it. The readme tells the users to either
>>compile or copy the classes over. There are ~25 .java files, ~75 .class
>>files and ~20 data files. This is time consuming, inconsistent and error
>>prone. I'm not using package statement or jars (currently). What are
>>people using and / or what would you recommend. - Thanks - Lou
>
>
> Normally you put this in a repository if you distributing source and
> give them read-only ability. All the source forge projects would this
> way. Then you only need download what has changed.
>
> To send just the app itself, use Java Web Start. It does autoupdates.
>
> You might also want to use the Replicator which keeps a mirror of your
> directory on everyone else's, downloading just what they need. It is a
> lot simpler to use than CVS for the clients. They just click a button
> on a website.
>
> See http://mindprod.com/zips/java/replicator.html
> http://mindprod.com/jgloss/cvs.html
> http://mindprod.com/jgloss/javawebstart.html
>
> --
> Canadian Mind Products, Roedy Green.
> Coaching, problem solving, economical contract programming.
> See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.