• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Merging Projects

 
Ranch Hand
Posts: 205
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have 2 separate projects that I want to merge into one, preferably using eclipse but I am open to other suggestions.

Scenario:
1)Project A is created by developer A
2)Project B is created by developer B
3)Both projects are completely independent of themselves at development
4)Project A needs to use the functionality of Project B to become more efficient
5)Developer A needs to merge the code from project B into Project A (aware there is going to have to be some changes made)

Is this possible short of cutting and pasting?

I know I can merge into existing work spaces but I need it in the same code base.

(If this is not the right forum to ask in please let me know).
 
Ranch Hand
Posts: 47
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps it is time to use maven

Create parent project with it. Then make both A and B its submodules. Perhaps you will find that some code from both should be moved into separate module (name it "common" for example) to clean up dependencies...
 
Saloon Keeper
Posts: 15488
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rodion's advice is excellent. Have a cow!
 
Marshal
Posts: 79153
377
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I presume Maven will work of the two parts created are disparate. If they are not disparate, then a Subversion repository (or similar) allows different people to work on overlapping modules.
 
reply
    Bookmark Topic Watch Topic
  • New Topic