• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse RAD multiple projects

 
akmal jah
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a WebApp (Project A) that uses another project (Project B). Currently we create the jar out of Project B and use it that way in project A, but sometimes it is easier to have project B in the same workspace, like for debugging purposes etc. anybody know how I can do this in RAD?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Akmal,
I don't follow the problem. You create a new project and add it to Project A's build path.
 
akmal jah
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I added project B to project A's build path but during run time project A is unable to find B's files. I was playing with j2ee module dependencies setting in properties of the project but didn't succeed, any clue what might I have to do more?
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if this helps clear things up: http://www.coderanch.com/t/105570/vc/control-organization-code-still-Eclipse
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I added project B to project A's build path but during run time project A is unable to find B's files.

RAD has two classpaths. The build path (the one you used) is for compile time. The "Java Jar dependencies" are for runtime. If you add a jar to the "Java jar dependencies", RAD will add it to the build path for you. The opposite doesn't happen automatically.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic