Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » user libraries in eclipse 3.5.1(how a user library is grabbing extra jars?)
user libraries in eclipse 3.5.1 [message #516687] Wed, 24 February 2010 19:00 Go to next message
Tom H is currently offline Tom HFriend
Messages: 18
Registered: July 2009
Junior Member
Hi experts,

I have created a User Library which contains just one external jar from /a/b/c/x.jar. When I add it to my Java project, and open up the library tree, I see that my custom user library suddenly gets more jar than I originally have.

it looks like it grabbed all the jars under /a/b/c/ directory.

I exported the user library to see what's the exported xml. The xml contains only 1 entry.

Can someone enlighten me on this subject? What is the mechanism at work here that eclipse is inferring more jars in my user library?

thanks,
Tom

Wrong forum. Will remove.

[Updated on: Wed, 24 February 2010 19:01]

Report message to a moderator

Re: user libraries in eclipse 3.5.1 [message #517321 is a reply to message #516687] Fri, 26 February 2010 22:15 Go to previous messageGo to next message
Snjezana Peco is currently offline Snjezana PecoFriend
Messages: 789
Registered: July 2009
Senior Member
Check META-INF/MANIFEST.MF of your /a/b/c/x.jar.
I suppose you have some libraries defined in the Class-Path: attribute.

Snjeza

tomhsu@gmail.com wrote:
> Hi experts,
>
> I have created a User Library which contains just one external jar from
> /a/b/c/x.jar. When I add it to my Java project, and open up the library
> tree, I see that my custom user library suddenly gets more jar than I
> originally have.
>
> it looks like it grabbed all the jars under /a/b/c/ directory.
>
> I exported the user library to see what's the exported xml. The xml
> contains only 1 entry.
>
> Can someone enlighten me on this subject? What is the mechanism at work
> here that eclipse is inferring more jars in my user library?
>
> thanks,
> Tom
User Libraries in Eclipse 4.2 [message #987512 is a reply to message #517321] Mon, 26 November 2012 22:43 Go to previous message
Kaitlyn Schmidt is currently offline Kaitlyn SchmidtFriend
Messages: 1
Registered: November 2012
Junior Member
I have the opposite issue. I have a jar file (weblogic.jar) that has a manifest with a class-path and Eclipse is NOT pulling in the additional jars. Does anyone have any ideas as to why this is happening?
Previous Topic:OSGi bundles for java & non-java 3PP's
Next Topic:Why feature org.eclipse.equinox.core.sdk contains UI dependency ?
Goto Forum:
  


Current Time: Mon Dec 22 06:26:21 GMT 2014

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

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