Priority
Critical
Type
Bug 
State
Verified 
Assignee
Maxim Shafirov 
Subsystem
No subsystem 
Affected versions
Fixed in
Fixed in build
Next build 
Build
8051
Fixed in build
7617
  • Submitted by   Alexander Chernikov
    2 years ago (12 Dec 2007 23:23)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:56)
  • Jira: IDEA-42186
    (history, comments)

IDEA-42186

Erroneous path variable is written to .ipr's UsedPathMacros

1
Define a path variable (tested: APACHES = C:/Apache/, contain all Apache stuff).
Create a project, add a module.
Add dependency to a file under the path, denoted by variable.
Switch from IDEA.
Check .ipr: UsedPathMacro section is created and contains reference to not existing jar://$APACHES$ macro. It should be APACHES, like before.

On reopening project user gets a dialog with request to define jar://$APACHES$.

Issue was closed
Comments (3)
 
History (2)
 
Links
 
Sascha Weinreuter
  Sascha Weinreuter
13 Dec 2007 12:47
(2 years ago)
#permalink
I'm seeing the same in #7601:

{code:xml}
<UsedPathMacros>
<macro name="PROJECT" />
<macro name="file://$PROJECT$" />
<macro name="jar://$PROJECT$" />
</UsedPathMacros>
{code}
Sascha Weinreuter
  Sascha Weinreuter
19 Dec 2007 18:49
(2 years ago)
#permalink
I think this should be fixed for the first 7.0.3 EAP - even for an EAP, damaged project files are not good...
Alexander Chernikov
  Alexander Chernikov
24 Dec 2007 17:42
(2 years ago)
#permalink
7619, 8066: fix confirmed.