Bug 20572 - [ExternalTools] Ant basedir property quoted wrong
Summary: [ExternalTools] Ant basedir property quoted wrong
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Simon Arsenault CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-06-18 15:09 EDT by Adam Schlegel CLA
Modified: 2002-09-18 13:59 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 Schlegel CLA 2002-06-18 15:09:11 EDT
Build 20020618

If you specify the working directory for an Ant script, this adds an argument 
to the command line as "-Dbasedir=${working-directory}". The argument should 
be -Dbasedir="${working-directory}" instead, to minimize the scope of the qotes.

Functionally, there shouldn't be any difference. However, the current approach 
leads to inconsistency on Ant's command line when passing other arguments into 
the Ant script. For example, if I want to pass in -
Dfoo=${resource_path:/some/file}, it shows up on the command line as -
Dfoo="${resource_path:/some/file}". Here, the quotes for foo end up in a 
different place as the quotes for basedir, making the Ant command line look odd 
when reported in the Log Console.
Comment 1 Simon Arsenault CLA 2002-09-06 15:21:00 EDT
Handling of spaces is redone in the new external tool rework.

Note: new external tool work is not yet released to the head stream and won't 
for a while yet.