Bug 18219 - [ExternalTools] Edit Dialog: Path validation incorrect for workspace-relative tools
Summary: [ExternalTools] Edit Dialog: Path validation incorrect for workspace-relative...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-05-29 14:06 EDT by Adam Wilson CLA
Modified: 2002-09-18 13:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Wilson CLA 2002-05-29 14:06:55 EDT
PROBLEM:
When an external tool is configured with a tool location that is workspace-
relative (i.e. the location starts with the "${workspace_loc}" variable) the 
Edit Dialog does incorrect validation on the location and says that the "Tool 
location does not exist."  This also occurs with workspace-relative working 
directories.

STEPS TO REPRODUCE:
1. On the menu bar, go to Run -> External Tools -> Configure...
2. Click on New...
3. Set the tool name to something.
4. For the tool location, select Browse Workspace...
5. Select an existing file in the workspace and click on OK.
The status line at the top will now say "Tool location does not exist."

The variables in these fields are not expanded when validation is done.  They 
should be handled as in 
org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext#expandVariables
(String)
Comment 1 Simon Arsenault CLA 2002-05-30 13:47:13 EDT
This problem was fixed in integration build 05/29. Please reopen if you can 
still reproduce the problem with that build.