java - importing project in Eclipse -
Hi I'm new to Eclipse (and I'm a newbie in java): I'm building a project that should be used. Some classes from any other project, do I have to export this as last project jar file and add to my project? What are the other options?
There are several options:
- If Project A relies on Project B , And both projects are in the same eclipse workspace, you can only project to project A's construction path (project properties / build path / project). Its good advantage is that it will (optional) automatically pull in the Jar of Project B, as well as the updates of B will be automatically used by A, and you can debug in the code of B (Even so That by changing the hot code too).
- If A and B are quite different, then just make B in a jar (or many people), then add them to the construction path of A.