Summary: | Change to .classpath causes jar file to appear outside of "Referenced libraries" | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Brian Young <Brian_Young> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Olivier_Thomann |
Version: | 3.4 | ||
Target Milestone: | 3.4 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Brian Young
2008-04-11 13:59:33 EDT
I cannot reproduce using I20080410-1022. Following thoroughly your steps, when I press F5, testLib-2.jar is removed from the Referenced Libraries. Do you have more details? In fact I missed one of the steps. I can reproduce now. But the behavior you're seeing is expected. Since the jar is added as an external jar, it is not filtered out from the project itself. This is why it appears both inside and outside the Referenced Libraries. Instead of using Add External JAR, you should use Add JAR instead. To do so, after adding testLib.jar using Windows file explorer, you should either select the project in Eclipse and press Refresh (F5), or - better - enable Preferences > General > Workspace > Refresh automatically. Closing as this works as designed. Agreed. Would the third step of the original test case be followed by F5, the jar file would appear immediately, which is consistent with the remainder of the story. Verified for 3.4 M7. |