Hi Shaping,
 
This is a git problem on Windows only with nested directories resulting in long 
path names, not a problem of Pharo directly.  

Usually you should not have it since most projects should already be in Tonel 
format now (Tonel saves some space on the
path length). Dont know if PharoJS and all dependencies are already in Tonel 
format.

I guess it is because your image already is in 
"c:/Users/Crypto/Documents/Pharo/images/PharoJS in 7.0.64-bit" and then
the usual "pharo-local/iceberg/..." gets added when cloning through iceberg. 
Depending on project this leads to a long path 
for git.
 
Several options you could try to resolve this:
============================
 
a) Install Pharo Launcher on a short path like "c:\pharo" (instead of the long 
user directory default).
    When you then download for instance a Pharo 7 64 bit image using Pharo 
Launcher just use a short name
    for the image itself like "PJS7-64". This usually reduces the path size 
already.
 
b) If you have a local git client already (like the one from 
https://git-scm.com[https://git-scm.com/download/win]) then configure your 
local git like:

       git config --system core.longpaths true

   and clone the project from commandline on a short path:
 
       cd c:\pharo
       git clone https://github.com/bouraqadi/PharoJS.git
 
   You can then use Iceberg to connect to it via "Add" -> "Import from existing 
clone" and load the baseline from there.
 
c) Go to "Pharo" -> "Settings Browser", select "Tools" -> "Software 
Configuration Management" -> "Iceberg"
   and choose "Share repositories between images". Then set the "Location for 
shared repositories" to a
   short path name like "c:\pharo". Dont forget to hit enter. 

   You can double check by inspecting:  

        IceLibgitRepository sharedRepositoriesLocationString inspect

    in a Playground. Iceberg will use this directory to clone project - using a 
short path will shorten the 
    overall path length for the cloned PharoJS project.
 
Some of this might help - if not use Ubuntu or OSX ;)
 
Bye
T.

Reply via email to