Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Dialogs/Environment Options/Environment Variables    [ Add a report in this area ]  
Report #:  105377   Status: Reported
Change defaults for Package & DCP output directories
Project:  Delphi Build #:   16.0.4429.4693
Version:    16.4 Submitted By:   Larry Hengen
Report Type:  Suggestion / Enhancement Request Date Reported:  5/4/2012 12:28:11 PM
Severity:    Serious / Highly visible problem Last Updated: 5/4/2012 1:13:56 PM
Platform:    All platforms Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
The default 'Package output directory' is $(BDScommonDir)\bpl\ and the default 'DCP output directory' is $(BDScommonDir)\bpl\ for Win32 platforms.  For consistency, and so one setting can be used across all Targets & Platforms I think this should be changed to $(BDSCommonDir)\bpl\$(Platform) and $(BDSCommonDir)\dcp\$(Platform) respectively or possibly better yet, use both $(Platform)\$(Config) suffixes for both paths so if you use Run-time packages the output files never get overwritten and lead to confusion and odd error messages.

I understand the initial implementation was for backwards compatibility, but it becomes more problematic when targeting multiple platforms with a single package.  It's clearer where all the files should be generated if a uniform directory structure is used.  You can manually clean out the appropriate folders, and it also makes it clear for existing packages you're upgrading what the paths have to be.  You can use one path specifier in the 'All Platforms - All Targets', namely something like .\Lib\D16\$(Platform)\$(Config)
Steps to Reproduce:
see description and visit http://www.tpersistent.com/?p=570
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01