[Pharo-project] Setting MC cache directory (was renggli mirror created on smalltalkhub)
Friedrich Dominicus wrote
Another stuff I simply do not get is package-cache. Why is it local to every other Pharo image? Why can't I say drop all below package-cache on my machine that's it.
Usually one pharo installation does not know about the other if you just unzip. So the cache is by default relative to the installation. Thats the same in Eclipse and other IDE's. If you want you can set a common directory for all images using MCCacheRepository>>default: Since it would be better to have a setting in the Settings browser I opened http://code.google.com/p/pharo/issues/detail?id=6260 and fixed it for Pharo 2.0 in SLICE-Issue-6260-Monticello-cache-location-should-be-configurable-tbn.1 Please test on different patforms for integration. Thx T.
package-cache, the .m2 of Pharo... But .m2 is under ~ by default. Why couldn't package-cache be like that on *nix by default and under the %USERPROFILE% on Windows? Phil 2012/7/4 Torsten Bergmann <astares@gmx.de>
Friedrich Dominicus wrote
Another stuff I simply do not get is package-cache. Why is it local to every other Pharo image? Why can't I say drop all below package-cache on my machine that's it.
Usually one pharo installation does not know about the other if you just unzip. So the cache is by default relative to the installation. Thats the same in Eclipse and other IDE's.
If you want you can set a common directory for all images using
MCCacheRepository>>default:
Since it would be better to have a setting in the Settings browser I opened
http://code.google.com/p/pharo/issues/detail?id=6260
and fixed it for Pharo 2.0 in SLICE-Issue-6260-Monticello-cache-location-should-be-configurable-tbn.1
Please test on different patforms for integration.
Thx T.
-
On Wed, Jul 4, 2012 at 5:28 PM, phil@highoctane.be <phil@highoctane.be> wrote:
package-cache, the .m2 of Pharo... But .m2 is under ~ by default. Why couldn't package-cache be like that on *nix by default and under the %USERPROFILE% on Windows?
because maven does not use standard mechanisms: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
Well, these so-called standards are well and nice but frankly, even my vim editor uses the same as maven and friends. Some examples: .m2, .mc, .inkscape, .subversion, .hg, .gitconfig, .Xcode, .cache, .cups, .wireshark, .netbeans All in my ~ on *nix and in %USERPROFILE% on Windows There are standards and defacto standards. I am with the second ones. Having package-cache embedded inside the application on OSX is plain ugly. Like storing your data in "Program Files". Erk! Anyway, I can put it where I want on my own, so let's end this thread. Phil 2012/7/4 Damien Cassou <damien.cassou@gmail.com>
On Wed, Jul 4, 2012 at 5:28 PM, phil@highoctane.be <phil@highoctane.be> wrote:
package-cache, the .m2 of Pharo... But .m2 is under ~ by default. Why couldn't package-cache be like that on *nix by default and under the %USERPROFILE% on Windows?
because maven does not use standard mechanisms: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
-- Damien Cassou http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
"Torsten Bergmann" <astares@gmx.de> writes:
Friedrich Dominicus wrote
Another stuff I simply do not get is package-cache. Why is it local to every other Pharo image? Why can't I say drop all below package-cache on my machine that's it.
Usually one pharo installation does not know about the other if you just unzip. So the cache is by default relative to the installation. Thats the same in Eclipse and other IDE's.
If you want you can set a common directory for all images using
MCCacheRepository>>default: Well this is not there at least in Pharo 1.3. I found it in Pharo 2.0 So well "helped" myself with the symbolic links. How nice Unices sometimes are ;-)
Since it would be better to have a setting in the Settings browser I opened
http://code.google.com/p/pharo/issues/detail?id=6260
and fixed it for Pharo 2.0 in SLICE-Issue-6260-Monticello-cache-location-should-be-configurable-tbn.1
Ok, I see, one has to use Pharo 2.0 and the most actual Monticello to make something out of a SLICE. Another thing learned today. Regards Friedrich
participants (4)
-
Damien Cassou -
Friedrich Dominicus -
phil@highoctane.be -
Torsten Bergmann