Ok, thanks. I can probably live with that ;)

Last question on configurations: Is there a way to specify different 
#postLoadDoIt:: depending on which group gets loaded? I know you can specify 
per-package #postLoadDoIt:

Thanks a lot for your time!

Roby

> On 09 Feb 2015, at 17:21, Sven Van Caekenberghe <[email protected]> wrote:
> 
> No, it only works for the default group and stable version.
> 
>> On 09 Feb 2015, at 17:09, Roberto Minelli <[email protected]> wrote:
>> 
>> Thanks Sven! P.s. any way to specify, for example, which group to load? In 
>> my configuration, for example, I was using this method to load
>> 
>> loadAsUser
>>      <apiDocumentation>
>>      ^(self project version: #bleedingEdge) load: #('User').
>> 
>>> On 09 Feb 2015, at 16:53, Sven Van Caekenberghe <[email protected]> wrote:
>>> 
>>> 
>>>> On 09 Feb 2015, at 16:46, Roberto Minelli <[email protected]> wrote:
>>>> 
>>>> Indeed I have a configuration, that is the only thing that my startup 
>>>> script does in fact. 
>>>> 
>>>> However I know that people prefer automatic stuffs (i.e., put the script 
>>>> once in the folder and forget about it).
>>>> Concerning the configuration browser, I have no idea how to put my 
>>>> configuration in it.
>>> 
>>> If you are part of 'Team Pharo' on StHub, you can copy your configuration 
>>> to a designated repository, per Pharo version, like 
>>> http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main/
>>> 
>>> That's it, really - the responsibility is all yours of course ;-)
>>> 
>>>> Roby
>>>> 
>>>> 
>>>> 
>>>>> On 09 Feb 2015, at 16:41, Sven Van Caekenberghe <[email protected]> wrote:
>>>>> 
>>>>> 
>>>>>> On 09 Feb 2015, at 16:37, Roberto Minelli <[email protected]> wrote:
>>>>>> 
>>>>>> Hi Sean,
>>>>>> 
>>>>>> On the one side, I see (and agreed) what you said. But suppose you want 
>>>>>> to provide users with a script that loads your package and you want for 
>>>>>> them minimal effort, i.e., copy the script file in the correct folder on 
>>>>>> their PC. Then you cannot really use your approach.
>>>>> 
>>>>> Robert,
>>>>> 
>>>>> What is wrong with a simple configuration that users can load with 
>>>>> one-click using the configuration browser ? It can't get much simpler 
>>>>> than that, IMHO, and you can do everything you want (post load actions, 
>>>>> ..).
>>>>> 
>>>>> Sven
>>>>> 
>>>>>> However, thanks for sharing your automagic way of initializing your 
>>>>>> image ;)
>>>>>> 
>>>>>> Cheers,
>>>>>> R
>>>>>> 
>>>>>> 
>>>>>>> On 09 Feb 2015, at 15:50, Sean P. DeNigris <[email protected]> 
>>>>>>> wrote:
>>>>>>> 
>>>>>>> Roberto Minelli-3 wrote
>>>>>>>> Is there any way to specify an order or priority of StartupAction?
>>>>>>> 
>>>>>>> The startup action framework is an awesome tool to set up one's images
>>>>>>> automagically. And... working with script files sucks!
>>>>>>> 
>>>>>>> I use a minimal script to load a Metacello project with my actual 
>>>>>>> startup
>>>>>>> logic. It never changes, so instead of hand-editing scripts, I do all 
>>>>>>> that
>>>>>>> work in the image with the full power of the environment. This is the 
>>>>>>> whole
>>>>>>> script:
>>>>>>> 
>>>>>>> StartupLoader default executeAtomicItems: {
>>>>>>>         StartupAction name: 'Load DeNigrisPreferences' code: [
>>>>>>>                 Gofer it
>>>>>>>                         url: 
>>>>>>> 'http://smalltalkhub.com/mc/SeanDeNigris/DeNigrisPreferences/main';
>>>>>>>                         package: 'DeNigrisPreferences-Core';
>>>>>>>                         load.
>>>>>>>         ] runOnce: true.
>>>>>>> }.
>>>>>>> 
>>>>>>> The code is public. While it's fairly specific to my workflow, it may 
>>>>>>> serve
>>>>>>> as inspiration. The trickiest part was that the code couldn't depend on
>>>>>>> Metacello (I don't remember why. This may have been when not all 
>>>>>>> platforms
>>>>>>> had Metacello pre-installed. Actually, I think I'll try using Metacello
>>>>>>> now!).
>>>>>>> 
>>>>>>> HTH.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> -----
>>>>>>> Cheers,
>>>>>>> Sean
>>>>>>> --
>>>>>>> View this message in context: 
>>>>>>> http://forum.world.st/Order-priority-of-StartupAction-tp4804596p4804645.html
>>>>>>> Sent from the Pharo Smalltalk Developers mailing list archive at 
>>>>>>> Nabble.com.
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 


Reply via email to