Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Anna Kozlova 
Subsystem
Project Configuration 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7757
Fixed in build
7903
Severity
0
  • Submitted by   Richard Calmbach
    22 months ago (20 Mar 2008 00:26)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:58)
  • Jira: IDEA-43164
    (history, comments)

IDEA-43164

IDEA 7.0.3 no longer uses $PROJECT_DIR$ in .ipr for paths in VM_PARAMETERS in run/debug configuration

1
Starting with IDEA 7.0.3, this problem has appeared: When creating a shared run/debug configuration that has a VM_PARAMETERS value like "-Djava.library.path=/path/to/project/dir/lib" (needed for picking up native libs when using JNI), the value that is stored in the .ipr is the verbatim absolute path instead of the expected parametrized path, i.e., "-Djava.library.path=$PROJECT_DIR$/lib". This still worked correctly in IDEA 7.0.2. Without the parametrization, the .ipr can no longer be shared among developers without local edits.

Environment: Happens on Windows and Linux. JDK 6u5.

Issue was resolved
Comments (4)
 
History (1)
 
Links
 
A Noisebot
  A Noisebot
25 Mar 2008 19:37
(22 months ago)
#permalink
Also observed in MacOSX
Anna Kozlova
  Anna Kozlova
26 Mar 2008 20:12
(22 months ago)
#permalink
You may workaround the problem with defined path macro lib and use it explicitly: -Djava.library.path=$lib$ Fix will include usage of $PROJECT_DIR$ here.
A Noisebot
  A Noisebot
25 Apr 2008 01:22
(21 months ago)
#permalink
This is not even remotely a viable workaround. Our team is completely unable to use any release later than 7.0.2 until this major bug is fixed.
Richard Calmbach
  Richard Calmbach
25 Apr 2008 08:44
(21 months ago)
#permalink
Yes, this is a rather debilitating bug. I'd like to see it given a priority higher than "normal". Can you give us any assurance that this will be fixed in 7.0.4? Thanks!