Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Weird requirement by Eclipse
Weird requirement by Eclipse [message #182114] Wed, 29 November 2006 11:36 Go to next message
Eclipse UserFriend
Originally posted by: sri1025.gmail.com

Hi!

I have two projects in my workspace. Like this

workspace
+
+
+- Project1
+
+- Project2

Project1 has external references to 2 jar files in its build path, and
Project2 refers Project1 in its build path. But eclipse was warning me to
add the 2 jar files (which Project1 refers) to Project2's build path
because it indirectly refers the classes in those jar files.

I think it should ideally be enough to have reference to just Project1.
Your thoughts?

Thanks,
Srikanth
Re: Weird requirement by Eclipse [message #182144 is a reply to message #182114] Wed, 29 November 2006 16:17 Go to previous message
Eclipse UserFriend
Originally posted by: wegener.cboe.com

Srikanth wrote:

> Hi!

> I have two projects in my workspace. Like this

> workspace
> +
> +
> +- Project1
> +
> +- Project2

> Project1 has external references to 2 jar files in its build path, and
> Project2 refers Project1 in its build path. But eclipse was warning me to
> add the 2 jar files (which Project1 refers) to Project2's build path
> because it indirectly refers the classes in those jar files.

> I think it should ideally be enough to have reference to just Project1.
> Your thoughts?

> Thanks,
> Srikanth

Sounds like you need to export the jar files in Project1. Open up the
Project1 properties. On the Java Build Path, there is an Order and Export
tab. Go to this tab and check the jar files that Project 2 needs. This
will make the jars available to any project that depends on Project1
(Project 2 in your case.)
Previous Topic:Languages supported in Eclipse SDK 3.2.1?
Next Topic:how to get FTP support?
Goto Forum:
  


Current Time: Fri Apr 26 14:30:04 GMT 2024

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

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

Back to the top