On Sun, Apr 3, 2011 at 11:45 AM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
Hi Igor. I was thinking a couple of things:
- So...once I hace download anything from GIT, what I always need to do
is: a) take a pharo core 1.3 b) open the LoadVMMaker.st so that I can see which versions of metacello and cmake I need. c) evaluate that over the pharo image d) move my image to /build so that it finds the /src and /platform by default
So...I wonder what are the reason of not having such PharoCore image already commited in GIT under /image. You can even save it with a workspace opened with the code of LoadVMMaker.st is it just the size of it?
If I want to do it for myself, what is the best strategy? clone to my own fork, add the image there and then just pull the changes?
Igor, and this question ? do you know ?
- #prepareVMMaker does this:
prepareVMMaker
| maker allPlugins | maker := VMMaker forPlatform: 'Cross'. maker sourceDirectoryName: (self srcDir assureExistence fullName). maker platformRootDirectoryName: (self topDir / 'platforms' ) fullName.
And
srcDir "Answer the value of srcDir"
^ srcDir ifNil: [ srcDir := self topDir / 'src' ]
This is cool because I can script the cong to use another src. But you don't do the same for 'platform'. So I cannot do:
CogDebugMacOSConfig new srcDir: 'myFolder'; platformsDir: 'myPlatofrm'; generateSources; generate.
Since the platform directory will be overwritten.
Cheers
Mariano