I have 2 .java files with the same name in different directories.
One is a saved older version of the other.  The older version is
in a directory that has been added to the "exclude from
compilation" list.  The older version is also in a directory which
is inconsistent with its package declaration.

But when idea sees a reference to that class, it always uses
the old version in the excluded directory rather than:
1) giving me an error because I have 2 in the project
or
2) using the one that is not excluded from compilation

Only after changing the package declaration in the older
(excluded from compilation) version does idea use the
right (included in compilation & consistent package) version.

2 is the behavior I was expecting, but 1 would have been
preferable to the present behavior.

Thanks,

Neil

P.S. version 602, but this was happening in the 5xx builds also.


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to