#332 closed defect (fixed)
IDE shouldn't store CCL directory in preferences
Reported by: | gb | Owned by: | rme |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | IDE | Version: | 1.2 |
Keywords: | Cc: |
Description (last modified by gb)
It's generally proven to be a bad idea to store the CCL directory in the preferences database.
I think that the current thinking is that the CCL directory for a bundled IDE should be initialized in each session to the directory which contains the bundle, and that .dmg distributions should include the .app inside CCL. If someone wants to move the bundle outside of that location, having some mechanism to set the CCL directory for the duration of the current session might be useful (as might be some feedback that indicates that the current setting doesn't look valid.)
Viewing the CCL directory as a persistent global preference creates more problems than it solves (e.g., the persistent preference might point to a stale installation and doesn't generally support environments where different IDE versions are installed, etc.) The proposed default (using the parent directory of the application bundle) is consistent with how the IDE is built and likely to be distributed.
Change History (4)
comment:1 Changed 12 years ago by gb
- Description modified (diff)
comment:2 Changed 12 years ago by rme
- Owner changed from gz to rme
comment:3 Changed 12 years ago by rme
- Resolution set to fixed
- Status changed from new to closed
r11466 finishes this off.
r11035 does this.
We still need to update the preferences panel to get rid of the now useless UI for setting this.