You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Jonathon Lamon (JIRA)" <ji...@apache.org> on 2014/07/02 21:07:24 UTC

[jira] [Created] (IVYDE-369) IvyDE does not add source jars/folders to classpath container

Jonathon Lamon created IVYDE-369:
------------------------------------

             Summary: IvyDE does not add source jars/folders to classpath container
                 Key: IVYDE-369
                 URL: https://issues.apache.org/jira/browse/IVYDE-369
             Project: IvyDE
          Issue Type: Bug
          Components: classpath container
    Affects Versions: 2.2.0.final, trunk
         Environment: Windows 7, Eclipse Kepler Service Release 2 Build id: 20140224-0627, IvyDE 2.4.0
            Reporter: Jonathon Lamon
            Priority: Minor
             Fix For: trunk


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)