Uploaded image for project: 'IvyDE'
  1. IvyDE
  2. IVYDE-369

IvyDE does not add source jars/folders to classpath container

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0.final, master
    • Fix Version/s: master
    • Component/s: classpath container
    • Labels:
      None
    • Environment:

      Windows 7, Eclipse Kepler Service Release 2 Build id: 20140224-0627, IvyDE 2.4.0

      Description

      When building the classpath container, ivyDE does not include source jars on the classpath. This is well in good in most situations, but with a GWT application this can cause issues where the GWT hosted mode compiler can not see source jars on the classpath that are required.

      Expected behavior would be, if that any jar, source or not, included in the retrieval pattern, would b included on the classpath.

      If a dependency is resolved in the workspace as an open project, then the classpath container should also add the source folders of that project to classpath.

      Workaround:

      Configure project with facet of Dynamic Web Application and point to correct war/WebContent folder.
      Configure Ivy Project settings to retrieve jars with the pattern: war/WEB-INF/lib/[artifact][revision]([classifier]).[ext]

      This will add the Web App Libraries classpath container which will appropriately read all the jars in teh war/WEB-INF/lib folder.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jonl-percsol Jonathon Lamon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: