History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16090
Type: Bug Bug
Status: Open Open
Assignee: Mike Aizatsky
Reporter: Chris Marshall
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Changes to IML file made outside IDEA are not picked up by IDEA even on synchronization

Created: 30 Oct 07 13:03   Updated: 30 Oct 07 14:50
Component/s: Project Configuration

Environment: Windows XP

Build: 7,364
Severity: High


 Description  « Hide
The way our team controls its dependencies is a bespoke method via a file. We have an ant build target which then updates our IDEA dependency files (Eclipse or IDEA etc). For IDEA, this means that the build target updates the project's IML file.

In the v6 versions of IDEA this worked fine and changes were picked up inside 10 seconds. IDEA immediately picked up that the IML file had been canged. In v7 however, this does not work. I suspect that IDEA is caching the IML file. However, even synchronizing the IML file is not showing up the changes.

I've marked this as high severity as it is a showstopper for us.



 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 30 Oct 07 14:42
What exactly is changed in the .iml files? IntelliJ IDEA is now capable of picking up some changes without a complete project reload.

Chris Marshall - 30 Oct 07 14:50
Basically the ant script changes the module libraries in the IML files. this way, we can set our dependencies and manage them independent of any IDE. For example, I develop on a project with someone who uses Eclipse. They update the dependencies file; I run the ant script to synchronize the IML.

I know that now IDEA supports keeping the classpath in Eclipse format; but we want a truly IDE-independent way of doing this.

Sometimes after a restart, IDEA is picking up the change to the file. However, whereas previously this happened inside a few seconds, now it can take minutes. This is too long although it wouldn't be so annoying were the synchronize feature to work.