Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » sharing an interface
sharing an interface [message #226760] Wed, 29 March 2006 07:24 Go to next message
Eclipse UserFriend
Hi,
I have 2 projects - one acting as a server and the other as a client. They
use XML-RPC to communicate. They need to share some keys (map keys) between
them. What is the best way to do this? create a third project with a single
interface file and add it to both projects' build path?
Thanks,
Zohar.
Re: sharing an interface [message #226878 is a reply to message #226760] Thu, 30 March 2006 14:53 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Zohar wrote:
> Hi,
> I have 2 projects - one acting as a server and the other as a client. They
> use XML-RPC to communicate. They need to share some keys (map keys) between
> them. What is the best way to do this? create a third project with a single
> interface file and add it to both projects' build path?

That would be my recommendation. Alternatively, you can have one of the
two projects "own" the shared interface and make the other project
depend on it. This will work as long as first one does not need to
depend on anything in the second one - that would create a circular
dependency.

Hope this helps,
Eric
Previous Topic:Multiple sources versions in one project
Next Topic:putting windows on two monitors?
Goto Forum:
  


Current Time: Fri Nov 07 05:23:10 EST 2025

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

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

Back to the top