Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 37891

Summary: Must be able to set absolute Debug configuration VM args relative to the project path.
Product: [Eclipse Project] Platform Reporter: P Duffy <paduffy>
Component: DebugAssignee: Jared Burns <jared_burns>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description P Duffy CLA 2003-05-20 17:29:32 EDT
Our project debug configuration requires several VM -D arguments.  We must have 
a way to specify a path relative the project which is then converted to the 
correct absolute path for the VM

Some thing like

-D XXX={project}\myFolder

which gets expanded to

-D XXX=C:\x\y\z\myFolder

As it stands today, launch configuration is VERY user unfriendly for a large 
team which has Eclipse/projects installed in various places.

Thanks
Comment 1 Darin Wright CLA 2003-05-20 17:35:08 EDT
We are planning to support variables in 3.0. This function is not supported in 
2.1.

This will require the java launch config delegate and tab to support variables.
Comment 2 P Duffy CLA 2003-05-23 08:11:53 EDT
Further suggestions, thinsg we need to be able to do within VM args (in psuedo 
Win2K speak).

-DXXX=${project_loc}/a/b/c
-DYYY=%XXX%;/c/d/e
-DPATH=${project_loc}/x/y/x;%PATH%



Comment 3 Jared Burns CLA 2003-06-02 12:43:24 EDT

*** This bug has been marked as a duplicate of 10035 ***