Hi,
On 26 May 2011, at 17:22, Johan Fabry wrote:
Thanks, Doru, will have a look at this later this week, need to get some other projects
up and running first.
However, one question: given a ConfigurationOfX, how do I know which version of this
configuration was loaded?
There is a way, but I do not know it from on top of my head. Also, I am not sure how
accurate it is.
In any case, in the case of Moose, you know that it was 'default' :)
Cheers,
Doru
On 24 May 2011, at 03:50, Tudor Girba wrote:
Here is the script that Dale provided:
| version directive pkgs |
version := ConfigurationOfGlamour new project version: 'default'.
version ignoreImage: true.
directive := version record loadDirective.
pkgs := OrderedCollection new.
directive packageDirectivesDo: [:pkgDirective |
pkgs add: pkgDirective file ].
pkgs
Cheers,
Doru
On 24 May 2011, at 00:30, Johan Fabry wrote:
On 23 May 2011, at 18:11, Alexandre Bergel wrote:
> I'm trying to get something working but
got stuck, see my mail of a few days ago, now condensed in a 2-line question on
pharo-users: Given a specific MCPackage that was loaded because of an unknown Metacello
config, how can I obtain the list of required packages from Metacello?
Not sure if I understood correctly. Does the following line helps you?
ConfigurationOfAutotest project lastVersion packages
Does this tell me in what order those packages need to be loaded? Because package foo
requires package bar, bar needs to be loaded first. I am looking for a way to build a
partial (loading) order for a given list of packages.
--
Johan Fabry
jfabry(a)dcc.uchile.cl -
http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Yesterday is a fact.
Tomorrow is a possibility.
Today is a challenge."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Johan Fabry
jfabry(a)dcc.uchile.cl -
http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"If you interrupt the barber while he is cutting your hair,
you will end up with a messy haircut."