Project A depends on jar from project B, after buildilng B, A loses cache
Sorry about the confusing subject, don't get much space to write in the subjects in these forums.
Anyways, here's the full description:
If Project A depends on jar from project B, then you rebuild project B, the cache (or something) from Project A for that particular jar is lost. So everything is red and Idea says it "Cannot resolve..."
This wasn't a problem in last weeks build, appears to be a regression in M2.
Please sign in to leave a comment.
Hello Travis,
I have tried the same in M2 and have not met this bug. My project layout is:
... /super-dir/project-a/project-a.ipr, project-a.iml, src/**
... /super-dir/project-a.jar (built of project-a classes)
... /super-dir/project-b/project-b.ipr, project-b.iml, src/** (uses project-a.jar)
Changed something in implementation of project-a, rebuilt project-a.jar,
return to project-b, synchronize - no problems...
Although sometimes ago I met such bug, when different EAP builds (somewhat
like 7051 and 7087) used the same caches in user.home/.IntelliJIdea70/system.
Building new caches for the latest EAP build helped.
Alexander.