Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi/Packages    [ Add a report in this area ]  
Report #:  9606   Status: Closed
Opened packages ignore changes in search directories until viewed.
Project:  Delphi Build #:  Trial
Version:    9.0 Submitted By:   Liz Kimber
Report Type:  Minor failure / Design problem Date Reported:  11/24/2004 1:03:37 PM
Severity:    Commonly encountered problem Last Updated: 6/16/2005 4:54:04 AM
Platform:    All versions Internal Tracking #:  
Resolution: As Designed (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
If you have a set of components such as jcl you wish to compile, you open up your package and hit compile, it moans it cant find the source, as you've not entered the directory yet.
So, you add a blank win vcl32  to your package to access the default packages as you cant without :P Change the default directories to include the jcl ones, set it as default, remove the unwanted package and go back to compile/install the jcl packages, but they still complain about not finding the files.

So, you click on one of the packages, options, directories, but the correct directories show, so you click ok, click compile it now works.
Steps to Reproduce:
See description
Workarounds
Go through each of your packages and view the directories and hit ok. Does not work if you just reload the packages!
Attachment
None
Comments

Deborah Pate at 11/24/2004 3:53:07 PM -
You don't need to start a new project to change the default packages in Delphi 2005. When no project is open, there's a Project | Default Options menu.

Liz Kimber at 11/25/2004 3:02:39 AM -
When I open a number of packages but actually have no project open that default options menu item isnt there, so the only way to get to it without effecting the packages versioning etc, is to create the blank project as part of the packages, make the change, and remove it.

Deborah Pate at 12/1/2004 4:47:16 AM -
I'm inclined to think this is As Designed. If I'm actually working on a package, I don't think I'd expect its settings to be changed unless I explicitly changed them, not just by a global settings change. Can you tell me why this would be a good idea?

Minor note about steps: I couldn't find a package on my system which wouldn't compile. I eventually gave up and just created two apps in a project group, used one to change the default settings, and noticed that the other one's settings didn't change.  I couldn't  see what you meant by 'the correct directories show', but I hope that doesn't matter. I think it would help if you could either supply an attachment or give detailed steps to create the problem from scratch.

Server Response from: ETNACODE01