Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Anna Kozlova
Subsystem
Compiling Project
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Johannes Graham
    4 years ago (16 Oct 2007 20:23)
  • Updated by   root
    2 years ago (17 Jan 2010 20:54)
  • Jira: IDEADEV-22679
    (history, comments)
 
IDEA-41597 jar directories as module libraries are not preserved when using eclipse-format dependency storage
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
I have a project that uses jar directories as module libraries (the directories are populated via ant/ivy). This works as expected when using the IDEA dependency storage format, but does not work when using eclipse-format dependency storage.

While everything seems find after first changing formats, upon reloading the project, none of the jar files in the directories are found.

Looking at the .classpath file shows that both class directories and jar directories are represented the same way:
Jar directory: <classpathentry kind="lib" path="target/external-deps" />

class directory <classpathentry kind="lib" path="D:/workspace/classes" />

I am guessing that any jar directory dependency that gets saved to .classpath is converted to a class directory dependency on reload.

This leaves me having to choose between jar directories and eclipse interop, both of which I find very valuable.

Issue was resolved
Comments (1)
 
History
 
Linked Issues (?)
 
Anna Kozlova
  Anna Kozlova
17 Oct 2007 18:16
4 years ago
Eclipse doesn't support jar directories. I suppose we won't support this feature for eclipse-format.
Fix will include "conversion" warning.
Thank you.