[eclipse]: how to import packages from different project?
Joined: Nov 27, 2001
hello all- I have two separate projects on eclipse. I try not to open both at the same time because it becomes really slow. But one of my projects require packages from the other, so I have to open the second project so Eclipse recognize the new classes that I'm importing/using. If I open my properties for my project, you can only add folders for your source path that belongs for _that_ project, not from external ones. When you open the other project, I can tick the "required projects on the build path" option, but this is not exactly what I want. I don't want to open it just to use that. any ideas?
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Joined: Jan 23, 2002
How about just jar'ing up the other project's classes and importing that .jar file into the project at hand?
Originally posted by Lasse Koskela: How about just jar'ing up the other project's classes and importing that .jar file into the project at hand?
I used this approach for a project and found it to be acceptable. An approach that I am considering for my next project is to use any to perform my builds instead of the Eclipse build system. I've recently discovered the Ant view and it seems like the ideal approach to project dependecies.