I have a web project. I moved the .jar files for XMLBeans to my WEB-INF\lib directory (could have been from anywhere). I then refreshed the project. Here’s the scenario.
Right-click on project -> Properties -> Java Build Path
my XMLBean .jar files ARE displayed there.
Click on WEB-INF\lib from within the IDE. No sign of my XMLBean .jar files
Click on Referenced Libraries. No sign of my XMLBean .jar files.
If I go to Right-click on project -> Properties -> Java Build Path and add the .jar files from the WEB-INF\lib path, they’re now doubled up there one with a path starting <project>\WebRoot\…. and another with a fully qualified pathname starting a C:\Document.
They are then reconized in the Referenced Libraries.
Noe, if I go back to Project->Properties->Java Build Path and delete the entries with the fully qualified path names, things are like I think they should be… meaning 1) single entry for each .jar file in Java Build Path, 2) listed in Referenced Libraries and 3) no entry in WEB-INF\lib from within the IDE.
It seems to me if I move .jar files to WEB-INF\lib for a project and they’re picked up under <Project> -> Properties -> Java Build Path, then they also ought to be listed in Referenced Libraries… without any further manipulation on my part.