The Fantom Setup page only covers Unix and Windows but not OSX. Being OSX a Unix variant, I guess I could use the Unix setup instructions, but the file system layout doesn't look like a Unix/Linux to me. I'm not familiar with OSX and I'd like to install Fantom where an expert OSX user would expect it to be. Can anyone advise, please?
SlimerDudeMon 14 Jul 2014
The Fantom installation process is similar to Ant, Maven, Gradle and NodeJs. That is, unzip a file somewhere and set a HOME environment variable.
I had a quick google for installing those on OSX. There doesn't seem to be consistent place to install it. Here are a few of the results:
I typically do it like this (I also use the same approach for Maven and Tomcat):
Unzip it to ~/fantom-1.0.65
Make symlink ~/fan -> ~/fantom-1.0.65
Make symlinks ~/bin/fan -> ~/fan/bin/fan and ~/bin/fansh -> ~/fan/bin/fansh
Have ~/bin under my PATH
So if I need to change fantom version I just changing a target for ~/fan symlink.
LightDyeTue 15 Jul 2014
Thanks for your replies guys. Yesterday I found this page on Haskell wiki and I decided to install Fantom under ~/Library/Fantom, although I should have (probably) used ~/Library/Frameworks/Fantom instead.
I guess it doesn't really matter where I put it as long as I don't screw up the system and I feel confortable with its location.
As Andrew S. Tanenbaum said...
The nice thing about standards is that you have so many to choose from.
LightDye Sat 12 Jul 2014
The Fantom Setup page only covers Unix and Windows but not OSX. Being OSX a Unix variant, I guess I could use the Unix setup instructions, but the file system layout doesn't look like a Unix/Linux to me. I'm not familiar with OSX and I'd like to install Fantom where an expert OSX user would expect it to be. Can anyone advise, please?
SlimerDude Mon 14 Jul 2014
The Fantom installation process is similar to Ant, Maven, Gradle and NodeJs. That is, unzip a file somewhere and set a HOME environment variable.
I had a quick google for installing those on OSX. There doesn't seem to be consistent place to install it. Here are a few of the results:
ivan Tue 15 Jul 2014
I typically do it like this (I also use the same approach for Maven and Tomcat):
~/fantom-1.0.65
~/fan -> ~/fantom-1.0.65
~/bin/fan -> ~/fan/bin/fan
and~/bin/fansh -> ~/fan/bin/fansh
~/bin
under my PATHSo if I need to change fantom version I just changing a target for
~/fan
symlink.LightDye Tue 15 Jul 2014
Thanks for your replies guys. Yesterday I found this page on Haskell wiki and I decided to install Fantom under
~/Library/Fantom
, although I should have (probably) used~/Library/Frameworks/Fantom
instead.I guess it doesn't really matter where I put it as long as I don't screw up the system and I feel confortable with its location.
As Andrew S. Tanenbaum said...
SlimerDude Tue 15 Jul 2014
XKCD on Standards.