Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Confused about the new User Libraries (M8)
Confused about the new User Libraries (M8) [message #153857] Mon, 12 April 2004 18:05 Go to next message
Eclipse UserFriend
Originally posted by: brian.xxxkapnetxxx.net

I have a project "A", and it uses a defined user library "L1". I have set
(in the project Build properties) that this user library should be
exported to dependent projects.

I have another project "B", that utilizes project "A".

When I go to run "B", it can find the classes of "A", but not the exported
user libraries. Should it see those libraries?

Is this a coming feature, or do I have to manually add all of the (many)
libraries of "A" into project "B" as well.

It's kind of confusing if "A" doesn't really export the user libraries
when the checkbox for each library is checked.
Re: Confused about the new User Libraries (M8) [message #153923 is a reply to message #153857] Tue, 13 April 2004 07:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Brian wrote:

>I have a project "A", and it uses a defined user library "L1". I have set
>(in the project Build properties) that this user library should be
>exported to dependent projects.
>
>I have another project "B", that utilizes project "A".
>
>When I go to run "B", it can find the classes of "A", but not the exported
>user libraries. Should it see those libraries?
>
>
Not per default (see below).

>Is this a coming feature, or do I have to manually add all of the (many)
>libraries of "A" into project "B" as well.
>
>
No, you can export the libraries of project A: on A's Java build path
property settings switch to "Order and Export" and there check the
libraries you want to export.

HTH
Dani

>It's kind of confusing if "A" doesn't really export the user libraries
>when the checkbox for each library is checked.
>
>
>
Re: Confused about the new User Libraries (M8) [message #154032 is a reply to message #153923] Tue, 13 April 2004 14:42 Go to previous message
Eclipse UserFriend
Originally posted by: brian.xxxkapnetxxx.net

I must have something wrong somewhere.

Project "A" uses the Apache Log4J library which I have set up as a user
library.

Under the properties for this "A" project, on the 'Order and Export' tab I
have checked the user library Log4J as well as the project itself (and
several other user libraries as well).

Project "B" references "A" (project properties, Project References choice).

When I run "B", I get a class not found for Log4J (since it starts out
init-ing Log4J, but can't find it).

Examining the properties for the command line that runs "B", I only see
that 1 library is being exported, even though I have many checked.

Must be a bug? Has anyone used this with multiple user libraries?
Previous Topic:How to filter popup menu options in accordance with the project nature?
Next Topic:Please bottom post people...
Goto Forum:
  


Current Time: Thu Jun 19 09:49:44 EDT 2025

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

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

Back to the top