Added a delay to wait for squeaksource (2s between each package).
works now!!
2012/8/3 Alexandre Bergel <alexandre.bergel(a)me.com>
Is it something intented to be used with Metacello?
When would I want to
have this list of package and not a metacello version?
Just wondering.
Alexandre
On Aug 2, 2012, at 10:47 AM, Guillaume Larcheveque <
guillaume.larcheveque(a)gmail.com> wrote:
Today we created a tool with stephane:
I'm a kind of loader that know how to save and load list of packages.
First when you have a configuration of packages that you want to version
use:
(Pay attention version and save first your
packages, we are talking here
about saving a list of packages not the packages
themselves)
publishNewVersion
it will create a new method scriptXXX on the
MooseConfigurationRepository
You can then version this class in the package containing the Reloader
class.
In another image once you load this new version you can reload the
configuration
you save using the method
reload: aNumber
and it will load all the packages you previously specified.
Under the cover, we need a way to know which packages to save and where
to load
them.
Here is how this information is specified right
now, it can be modified
using accessors.
defaultSavedPackagesPatternNames
^ #(#('Moose-Tests-Algos-InformationRetrieval*' '
http://www.squeaksource.com/MooseAlgos') #('Moose-Settings*' '
http://www.squeaksource.com/Moose') #('ConfigurationOfNewECompletion*' '
http://ss3.gemstone.com/ss/NEC') #('Fame-Example*' '
http://www.squeaksource.com/Fame')
#('Moose-Tests-Algos-FormalConceptAnalysis*' '
http://www.squeaksource.com/MooseAlgos') #('CollectionExtensions*' '
http://www.squeaksource.com/CollectionExtensions') #('Grease-Core*' '
http://www.squeaksource.com/Seaside30') #('PetitSmalltalk*' '
http://source.lukas-renggli.ch/petit') #('Mondrian-Visitor*' '
http://www.squeaksource ......)
Currently, it kills squeaksource but we will retry with a wait
between each
package and it should works.
This tool is available at:
http://www.smalltalkhub.com/mc/StephaneDucasse/MooseReloader/main
--
Guillaume Larcheveque
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev