Bug 22714 - Arguments line lose spaces when printed to console
Summary: Arguments line lose spaces when printed to console
Status: VERIFIED 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.1 M2   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2002-08-22 10:51 EDT by Rodrigo Peretti CLA
Modified: 2002-10-04 10:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Peretti CLA 2002-08-22 10:51:10 EDT
build 20020821 branch 2.0.1

When running an Ant script and passing command lines, the arguments are 
printed to the console to give more information to the user. Currently the 
line is losing the spaces. It might be related to a fix we have put in to 
allow String[] parameters. What happens is:

Line entered by user: -verbose -Dprop=value -Dprop2=value2
Line printed to console: -verbose-Dprop=value-Dprop2=value2

All the spaces between parameters are removed.
Comment 1 Markus Kohler CLA 2002-09-19 02:29:42 EDT
Related to this, might be a problem we run into after upgrading to Eclipse 2.0.1 
We have some build.xml files with targets that contain spaces. These build
scripts don't work anymore. Actually the depended targets are not executed
correctly anymore. 
Comment 2 Rodrigo Peretti CLA 2002-09-19 09:39:34 EDT
This is actually a different problem. It might have been fixed in 2.0.2 
integration builds but I'm not sure.
Comment 3 Darin Swanson CLA 2002-09-19 12:47:02 EDT
The arguments printing to the console has been fixed.
I will look into target space problem and log a seperate bug if required.
Comment 4 Darin Swanson CLA 2002-09-23 15:44:47 EDT
I could not reproduce the problem with spaces in the name of targets.

Please verify the console problem (Jared)
Comment 5 Darin Swanson CLA 2002-09-27 11:31:35 EDT
Please verify (Luc)
Comment 6 Luc Bourlier CLA 2002-10-03 18:05:29 EDT
Verified
Please update the build notes (jared)