#2666 Offline docs

siloam Tue 2 Jan

Hello everyone! Do you know where I can find offline docs? Flux is not working properly.

C:\Users\siloam\Downloads\fantom-1.0.70\fantom-1.0.70\bin>flux fandoc://docLang Nie można odnaleźć określonego pliku. sys::Err: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Widget

fwt::Desktop.appName (Desktop.fan)
flux::Main.main (Main.fan:18)
java.lang.reflect.Method.invoke (Unknown)
fan.sys.Method.invoke (Method.java:573)
fan.sys.Method$MethodFunc.callList (Method.java:212)
fan.sys.Method.callList (Method.java:138)
fanx.tools.Fan.callMain (Fan.java:183)
fanx.tools.Fan.executeType (Fan.java:147)
fanx.tools.Fan.execute (Fan.java:41)
fanx.tools.Fan.run (Fan.java:308)
fanx.tools.Fan.main (Fan.java:346)

Windows 10(x64), Java 1.8

Best regards!

brian Tue 2 Jan

If you download the zip, you can run this command to generate offline docs:

fan compilerDoc -all

Regarding your specific problem, that requires installing the proper swt jar file. See docTools::Setup#swt

siloam Tue 2 Jan

Thanks, it works like a charm!

SlimerDude Tue 2 Jan

Hi Siloam,

Good to hear you're all set up!

Flux is not working properly.

For future visitors, detailed instructions on installing the correct SWT jar files (complete with direct download links) can be found in FWT on 64-Bit Platforms

When you have flux working, you can also use the afExplorer app to view Fantom documentation offline. Install with:

fanr install -r http://eggbox.fantomfactory.org/fanr/ afExplorer

Start with:

fan afExplorer

And press F1 to being up the Fandoc index. See Fandoc Viewer for details.

Screenshot of Offline Docs in Explorer

Happy reading!

Login or Signup to reply.