It's Freaky


   

Installing the Fantom Netbeans IDE


You can either install as a plugin to an existing Netbeans installation, or standalone.

Standalone Install


Make sure you have Java 1.5 or newer installed to be able to run the IDE.
  • For Linux/Unix/Windows, download:
Get fantom-x.y.z.zip from http://www.colar.net/fantomide/

  • For OSX:
Get fantom-x.y.z.app.tgz from http://www.colar.net/fantomide/

Extract at a location of your choice, and then run bin/fantomide (bin/fantomide.exe on windows).

Once the IDE is up go to tools/options/miscellaneous/fantom options and set the path to your fantom install (fantom home).

You can now open existing projects (folders with a build.fan in them) and add fan files & edit/run them.

See the demo to get started.

Report issues on the help page.

Install as a plugin to an existing Netbeans Installation



Option 1 : Update center(Manual)


This is the most up-to-date version (More so than the Update center) and is recommended option right now.

You need at least Netbeans 6.8.
  • Open Netbeans
  • Go to tools / plugins
  • Go to settings tab (List of update centers), click "Add"
  • Add -> Name: Fantom

Url for nb 6.9: http://www.colar.net/fantomide/plugin/6.9/updates.xml

Url for nb 6.8: http://www.colar.net/fantomide/plugin/6.8/updates.xml

  • Press OK to save it
  • Go to "Available plugins" Tab (sort by Name)
  • Select the checkbox next to "Fantom"
  • Click "Install"
  • Follow the wizzrad (Next/Install), ignore the "Not trusted" warning (Continue)
  • Click Finish and close the plugins panel.
  • Restart Netbeans

Option 2 : Netbeans Update Center


Fantom is now available on the main Netbeans Update center, so installation is as easy as:
  • Start Netbeans and go to tools/plugins/Available plugins
  • Select "Fantom" and click Install
  • Restart Netbeans once installed.

This is the simplest method, however right now the Fantom plugin is changing a lot and the officila Netbeans repository can be lagging by ~10 days.

Option 3 : Manual install


Download the Fantom plugin (.nbm file) here:

Ans save them on your machine.

You need at least Netbeans 6.8.
  • Open Netbeans
  • Go to tools / plugins
  • In plugin panel, go to "Dowloaded"
  • click "Add Plugins"
  • Add nbxx-net-colar-netbeans-fan.nbm
  • Now you should see all the Fantom plugin nbm files listed in the "Installed" tab.
  • click "Install"
  • Click next, accept the license (Artistic License), click install, click continue.
  • click finish and close the Plugins window.
  • Restart Netbeans

Fantom support is now installed!




Last modified: Wed Jun 02 17:21:40 EDT 2010 by Thibaut Colar

Post time:08/16/2010 14:31 By:rmuller (Guest)
Title: Questions about fantom plugin
First of all: thanks for your efforts, i am using the plugin for several days now and it works great. However i have a few questions about missing features:
1) Auto indent is not working. Is this a bug or missing feature?
2) It would be great to be able to run fantom tests from NB, just like the Java ones (ctrl-f6)
3) Is a file type Fantom test planned? (create -> new -> Fantom test. Then the test file is created from a template and stored in the test directory)

Regards,

Ronald