Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Dialogs/Project Options    [ Add a report in this area ]  
Report #:  88050   Status: Closed
Error when adding path(which contains spaces) to project search paths
Project:  Delphi Build #:  15.0.3890.3407
Version:    15.1 Submitted By:   Lut Mentz
Report Type:  Basic functionality failure Date Reported:  9/14/2010 4:46:20 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   282774
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : 16.0.4142.38991
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
1. Create any new build configuration that descends from an existing build configuration.

2. Open Project | Options.

3. Edit the Search Path in the descendant build configuration, disable inheritance from the parent build configuration, and add directories containing spaces, e.g.:  ..\Common Classes\SharedForms;..\Common Classes\Classes.

4. Save the Project Options.

5. Build the project.  DCC will exit with the indicated error.

6.  Open the .dproj file with an editor.  Notice that &quot entities are included in the XML for the DCC_SearchPath path for the new build configuration.
Steps to Reproduce:
With a Delphi Win32 forms application,

1. select project | options menu

2. in first tab, select 'Search Path' editor

3. Add a path

4. attempting to compile gets the error message

[DCC error] Invalid command line switch for "dcc". Illegal quote passed to the command line switch "-I". The value was ["c:\rot"]

Workarounds
Edit the unwanted quotes from the project file in a text editor.
Attachment
None
Comments

Tomohiro Takahashi at 9/15/2010 1:06:33 AM -
Unfirtunately, I can not reproduce your issue.
> 2. in first tab, select 'Search Path' editor
> 3. Add a path
So, could you please attach some screenshot to verify your configuration?

David Robb at 4/20/2011 6:48:49 AM -
Hi Tomohiro,

I reproduced this issue as well.  Here are reproduction steps:

1. Create any new build configuration that descends from an existing build configuration.

2. Open Project | Options.

3. Edit the Search Path in the descendant build configuration, disable inheritance from the parent build configuration, and add directories containing spaces, e.g.:  ..\Common Classes\SharedForms;..\Common Classes\Classes.

4. Save the Project Options.

5. Build the project.  DCC will exit with the indicated error.

6.  Open the .dproj file with an editor.  Notice that &quot entities are included in the XML for the DCC_SearchPath path for the new build configuration.

Server Response from: ETNACODE01