Bug 152803 - Creating Jar
Summary: Creating Jar
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-08-03 18:30 EDT by Felipe Regalgo CLA
Modified: 2009-08-30 02:05 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Regalgo CLA 2006-08-03 18:30:43 EDT
Situation: I have two project´s ('A' & 'B').... Project A use a b.jar by "Java Build Path >> Add External Jar"....

The problem is: When I generate a b.jar (B >>> Export >>> Jar ....) I overhide the  
b.jar that´s in project A... But project A doesn´t recognize b.jar. So I need to close eclipse, and then turn on again, so then the project A can see the new jar...

Congratulations for Eclipse, it´s a nice IDE...

Bye
Comment 1 Dani Megert CLA 2006-08-04 02:28:24 EDT
> But project A doesn´t recognize b.jar.
What do you mean by this?

Better setup for your use case might be to generate b.jar directly into either project B or project A which will make it an internal JAR and export would detect this and refresh the JAR automatically once it is generated.

Moving to JDT UI where this bug report belongs.
Comment 2 Martin Aeschlimann CLA 2006-08-07 03:53:22 EDT
If I understand right, the JAR isn't refreshed when you overwrite the JAR. Correct?

'Refresh' on the package explorer should fix that. Is this working?

As Dani said, try to use an normal (internal) JAR (Add JAR...).
Or, normally we use project dependencies (add B to the required projects of A).

Setting to remind while waiting for the answers.
Comment 3 Denis Roy CLA 2009-08-30 02:05:10 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.