On 30 December 2017 at 15:55, Vitor Medina Cruz <vitormcruz@gmail.com> wrote:
How do I know where to get Tonel from? It's BaselineOf don't have this information.
If you're looking for the source of a package that is already loaded in your image, try: World Menu -> Monticello Browser and enter the package name in the left input box. If I enter "tonel" I get: BaselineOfTonel (cypress.1) -> github://pharo-vcs/tonel:v1.0.5 Cheers, Alistair
Since Tonel is in my image by default, Metacello shouldn't use the packages from there? If that is not the case, how do I test my baseline implementation locally, before commiting to a repository?
Thanks.
On Sat, Dec 30, 2017 at 3:16 AM, Julián Maestri <serpi90@gmail.com> wrote:
You are trying to load Tonel but not telling Metacello where to load it from:
Metacello new repository: 'github://pharo-vcs/tonel'; baseline: 'Tonel'; load.
Tells Metacello to load the packages in BaselineOfTonel from https://github.com/pharo-vcs/tonel
On 29 December 2017 at 09:53, Vitor Medina Cruz <vitormcruz@gmail.com> wrote:
Hello,
I am experimenting with Metacello but I am having problems to test my configuration. First I thought the problem was with my configuration, but after serveral atemps I tried to fetch an arbitrary Baseline from default image:
Metacello new className: 'BaselineOfTonel'; baseline: 'Tonel'; fetch.
And I got the following error:
"Could not resolve: BaselineOfTonel [BaselineOfTonel] in C:\Users\Vitor\Documents\Pharo\images\Pharo 6.1 (stable)\pharo-local\package-cache http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main/"
Which is the same I got with my own project. I tried using 'repository:' also, but got the same error.
Am I doing something wrong?
cheers, Vitor.
Livre de vÃrus. www.avg.com.