Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Verified
Assignee
Olesya Smirnova
Subsystem
Project Configuration
Affected versions
No Affected versions
Fixed in build
94.220  
  • Created by   Irina Petrovskaya
    3 years ago (22 Oct 2008 16:07)
  • Updated by   Irina Petrovskaya
    2 years ago (01 Feb 2010 16:42)
  • Jira: IDEADEV-31629
    (history, comments)
 
IDEA-46313 On opening project that uses Path Macro this path should be resolved immediately after it is defined
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
  • consider some project that uses the user-defined path macro, like
<component name="libraryTable">
<library name="spring_lib">
<CLASSES>
<root url="jar://$myvar$/spring.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
<UsedPathMacros>
<macro name="myvar" />
</UsedPathMacros>

The $myvar$ macro is not defined in current idea installation. So when you open this project, you get the dialog prompting to specify the value. Enter the correct path there.
Open Settings: the macro definition is present there.
Open Project structure: the library path is not resolved - macro is not substituted with its value.

After project reopening the library path is resolved properly


Issue was closed
Comments (1)
 
History
 
Linked Issues (?)
 
Grant Gochnauer
  Grant Gochnauer
22 Oct 2008 17:28
3 years ago
I've been meaning to file this one for a long time! It's been in IDEA since version 6.0 :)