facebook

Adding libraries (.jar) files

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #295040 Reply

    DougMH
    Participant

    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.

    #295063

    Loyal Water
    Member

    Douglas,
    I’ll file a PR right away. Thank you for bringing this up.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Adding libraries (.jar) files

You must be logged in to post in the forum log in