Hello

I have a local clone of git repository and I am looking for code that adds
this repository to Iceberg and then loads its baseline into Pharo. I am
using Pharo 6.1 (image 60510) and last stable Windows VM.

Right now I am experimenting with following code, it adds the project into
Iceberg, but does not load the baseline. The code is:

  SystemSettingsPersistence updateSettingNodes. "sets ssh key locations"

  (Smalltalk at: #IceRepositoryCreator) new
          url: '[email protected]:bliznjan/nameofmyproject.git';
          location: '/C:/Users/User/Pharo/repo/nameofmyproject/filetree'
asFileReference;
          subdirectory: 'filetree';
          createRepository. "this part seems to work fine"

  Metacello new baseline: 'NameOfMyProject'; repository:
'gitlocal:///C:/Users/User/Pharo/repo/nameofmyproject/filetree'; load. "this
one fails with exception below"


loading the baseline ends with Exception
  Could not resolve: BaselineOfNameOfMyProject [BaselineOfNameOfMyProject]
in C:\Users\User\Pharo\images\TestingImage1\pharo-local\package-cache
C:\Users\User\Pharo\repo\nameofmyproject\filetree (Libgit)

Those paths seem correct - the package-cache is located in exactly that
position (but does not contain anything that relates to my project) and the
filetree (repository) in the mentioned path and there is a
BaselineOfNameOfMyProject.package directory in there.

Also, if I then try loading the baseline manually via Iceberg, by right
clicking on BaselineOfNameOfMyProject in Packages tab, I get exactly same
exception.

Loading packages one by one manually via Iceberg Packages tab works. Also,
loading the baseline via GitFileTree works.

Thank you
Jan



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply via email to