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

Bug 324235

Summary: Ant Properties Malformed if Workspace_loc Points to Non-Existing Project
Product: [Eclipse Project] Platform Reporter: Dick Adams <rwadams1>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Dick Adams CLA 2010-09-01 15:05:18 EDT
Build Identifier: M20090211-1700

When setting an Ant runime property that uses the workspace_loc variable, if the project name is typed (or capitalized) incorrectly, not only is that property not set correctly, but all other properties that use the workspace_loc variable are malformed, and all Ant properties that use string substitution variables are also malformed.

Reproducible: Always

Steps to Reproduce:
1. Create an Ant runtime property. For the value, use ${workspace_loc:ABCD}, where "ABCD" is a project that does not exist.

2. Run the following Ant Script:
<project default="all">
	<target name="all">
		<echoproperties />
	</target>
</project>

All of the properties that use workspace_loc or string substitution variables should appear malformed.
Comment 1 Olivier Thomann CLA 2010-09-01 15:12:56 EDT
Move to Platform/Ant
Comment 2 Eclipse Webmaster CLA 2019-09-06 15:36:53 EDT
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.
Comment 3 Eclipse Genie CLA 2021-09-06 15:06:12 EDT
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.