• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

how to do an update an application

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

i was asked by my friend to do create a web application using java (i am going to use grails). I have no problem with grails, but I got a problem when I need to do an update. His office was located on far far away from my city. So I have to send a war file everytime I did an update. They have internet but not connected to their application server ... so I have to send via email.

the problem is, war is quite big (about 25 MB) to be send via email... I don't want to send all of them if I just add/update an class. Is there any effective ways to send update (just the class) and I wish it looks like an installshield ...
 
author
Posts: 23956
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Grails is not based on Java. It is based on Groovy. So... I am going to move this topic to the Groovy forum.

Henry
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should look into setting up a source control repository that you both can access. Not only will this help keep backups of all your code and make rolling back changes easier, but then you can simply change your one class, commit it to source control, and your friend can pull it down and deploy it.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Marc's idea is probably the best, but if you cannot set up a common source control system here is an alternative that might help.

Set up a local source control system, such as Subversion. Then get the Subversion plugin for Eclipse. Use Team | Share Project to place the source code into Subversion. After you make changes, use Team | Create Patch to create a patch file and send that to your friend. Your friend can then apply the patch to his source. Of course, your fiend should also be using Subversion and follow these same steps. In addition, remember to commit your changes to Subversion both when you send a patch to him and after you apply a patch he sends to you.

This is not ideal, but should be workable is you are diligent in sharing patches. But just to verify that your code is in synch one of you should periodically send the full source to the other who would then do a diff to verify that things are in synch.

I am currently using a variation of this method to maintain source code with one of my colleagues.
 
Everybody's invited. Except this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic