Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Using packages from separate projects.
Using packages from separate projects. [message #760560] Fri, 02 December 2011 21:57 Go to next message
Sal! Missing name is currently offline Sal! Missing nameFriend
Messages: 6
Registered: December 2011
Junior Member
Hi guys,

I wanted to know if I could use packages from different projects. I don't want to combine the projects at all; I just want to use a few classes from project A in project B, but the package keyword only works for packages within the same project. What are the work arounds?

All feedback is welcome!
Re: Using packages from separate projects. [message #760565 is a reply to message #760560] Fri, 02 December 2011 23:29 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1441
Registered: July 2009
Senior Member
On 12/02/2011 03:57 PM, Sal! wrote:
> Hi guys,
>
> I wanted to know if I could use packages from different projects. I
> don't want to combine the projects at all; I just want to use a few
> classes from project A in project B, but the package keyword only works
> for packages within the same project. What are the work arounds?
>
> All feedback is welcome!
You have to setup a reference to Project A from Project B. Open the
Build Path property dialog and select the Projects tab then add Project A.
Previous Topic:closing brackets
Next Topic:Eclipse Project Export
Goto Forum:
  


Current Time: Sat Jun 12 12:05:14 GMT 2021

Powered by FUDForum. Page generated in 0.02562 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top