FogBugz (Case [Issue]11571) Command Line - Add command line commands for managing the preferences

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]11571) Command Line - Add command line commands for managing the preferences

Pharo Issue Tracker
A FogBugz case was edited by Camillo Bruni.

Case ID:      11571
Title:        Add command line commands for managing the preferences
Status:       Work Needed
Category:     Enhancement
Project:      Command Line
Area:         Misc
Priority:     5 - Fix If Time
Milestone:    Pharo3.0: 30/03/2014
Assigned To:  Camillo Bruni

URL:          https://pharo.fogbugz.com/default.asp?11571

<code>overridePreferences</code> is fishy :)

- you use <code>quit</code> in there which should not happen, even if you override the preferences  you have to continue evaluating the normal activation changin.
- you extract all file names from the rest of the commands, which means you cannot do <code>./pharo my.image --preference-files=ast.st st foo/bar.st</code>
- use full names, no shortcuts: <code>--no-preferences</code> instead of <code>--no-prefs</code>
- <code>activate:</code> should look like <code>
self isOverridingPreferences
ifTrue: [ self overridePreferences ]
ifFalse: [ self runPreferences].
^ super activate</code>


You are subscribed to this case.  If you do not want to receive automatic notifications in the future, unsubscribe (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=11571) from this case.

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker