Le 17/04/2017 à 11:22, K K Subbu a écrit : > Hi, > > I couldn't find the http://source.squeak.org/VMMaker repo in Monticello > Browser list of repos. I have to add it to the downloaded image every > time to work with VM :-(. > > Is there any specific reason for not including it by default in Pharo 6 > (60465). > > Regards .. Subbu >
Hi!
You can add it via a setting.
To do it just execute this in Pharo:
StartupPreferencesLoader default
addAtStartupInGeneralPreferenceFolder:
{(StartupAction
name: 'Add my repository'
code: [ MCRepositoryGroup default addRepository:
(MCSqueaksourceRepository location: 'http://source.squeak.org/VMMaker') ]
runOnce: true)}
Note that you can also add your credentials with:
StartupPreferencesLoader default
addAtStartupInGeneralPreferenceFolder:
{(StartupAction
name: 'Add my repository'
code: [ MCRepositoryGroup default addRepository:
(MCSqueaksourceRepository location: 'http://source.squeak.org/VMMaker'
user: 'user' password: 'password') ]
runOnce: true)}
What will this do? It will create a new .st file in the preferences
folder (Find his location at StartupPreferencesLoader
preferencesGeneralFolder).
This .st file will be executed each time you launch an image for the
first time.
If you don't want the settings to be loaded you can add the argument
--no-default-preferences to the command line.
--
Cyril Ferlicot
https://ferlicot.fr
http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France
signature.asc
Description: OpenPGP digital signature
