Bug 225514 - [External tools configuration] Field "Base directory" not updated when project name was changed
Summary: [External tools configuration] Field "Base directory" not updated when projec...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-04-03 05:51 EDT by Fabien Le Dren CLA
Modified: 2019-11-27 07:24 EST (History)
5 users (show)

See Also:


Attachments
External tool configuration screen (70.59 KB, image/jpeg)
2008-04-03 05:51 EDT, Fabien Le Dren CLA
no flags Details
Patch proposal for renaming base directory on project name change (6.89 KB, patch)
2008-05-08 20:12 EDT, Martin Karpisek CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Le Dren CLA 2008-04-03 05:51:58 EDT
Created attachment 94685 [details]
External tool configuration screen

Build ID: M20060629-1905

Steps To Reproduce:
1.Create a project "ejb".
2.Create Ant task specifying fields "BuildFile" ('${workspace_loc:/ejb/build.xml}') and "Base Directory" ('${workspace_loc:/ejb}').
3.Rename project in "ejb3".
4.Field "BuildFile" is updated in '${workspace_loc:/ejb3/build.xml}' but not "Base Directory" (stay '${workspace_loc:/ejb}').

More information:
Comment 1 Denis Roy CLA 2008-04-03 15:56:02 EDT
You're using a version of Eclipse that is almost 2 years old. Can you check to see if this is still the case with something more recent?

Regardless, moving to Ant.
Comment 2 Martin Karpisek CLA 2008-05-08 20:07:24 EDT
tested on I20080502-0100 win32, bug occurs as is written in description
Comment 3 Martin Karpisek CLA 2008-05-08 20:12:55 EDT
Created attachment 99400 [details]
Patch proposal for renaming base directory on project name change

Patch modifies LaunchConfigurationBuildfileChange to do renaming of base directory in same way as is already implemented for build file location.
Patch includes test case for org.eclipse.ant.tests.ui to check rename change in launch configuration.
Comment 4 Robert Kiss CLA 2011-09-16 10:03:46 EDT
My 2 cents here, a very easy to apply fix for a long lasting bug.
Comment 5 Lars Vogel CLA 2019-11-27 07:24:07 EST
This bug hasn't had any activity in quite some time. Maybe the problem got
resolved, was a duplicate of something else, or became less pressing for some
reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it.
The information can be, for example, that the problem still occurs, that you
still want the feature, that more information is needed, or that the bug is
(for whatever reason) no longer relevant.

If the bug is still relevant, please remove the stalebug whiteboard tag.