History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-25535
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Anna Kozlova
Reporter: Richard Calmbach
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

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

Created: 20 Mar 08 00:26   Updated: 07 Jul 08 19:27
Component/s: Project Configuration
Fix Version/s: Selena 7.0.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Happens on Windows and Linux. JDK 6u5.
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-18033 Test Output path only uses module var... Resolved

Build: 7,757
Fixed in build: 7,903
Severity: High


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
A Noisebot - 25 Mar 08 19:37
Also observed in MacOSX

Anna Kozlova - 26 Mar 08 20:12
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 - 25 Apr 08 01:22
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 - 25 Apr 08 08:44
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!