Ticket #332 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

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) (diff)

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

comment:1 Changed 6 years ago by gb

  • Description modified (diff)

comment:2 Changed 5 years ago by rme

  • Owner changed from gz to rme

r11035 does this.

We still need to update the preferences panel to get rid of the now useless UI for setting this.

comment:3 Changed 5 years ago by rme

  • Status changed from new to closed
  • Resolution set to fixed

r11466 finishes this off.

comment:4 Changed 5 years ago by rme

  • Milestone 1.2 deleted

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.