It tries to load richtext.fan as a sample file to edit.
Goto Run -> Run Configurations -> richtext.fan -> Arguments tab and change the Working directory to other and browse to wherever the source file is. I tend to use eclipse workspace paths, so my working directory would look something like:
${workspace_loc:FantomExamples/fan}
OR
change line 52 to an absolute location of a text file:
rasa Wed 10 Sep 2014
There are two fwt examples I can't start in F4: demo.fan and richtext.fan Their errors are respectively:
demo.fan
richtext.fan
Both examples work without problems when started externally with fan.
SlimerDude Wed 10 Sep 2014
Both errors have the same cause; not being able to find a relative file.
Just delete line 638 for it is not used.
It tries to load
richtext.fanas a sample file to edit.Goto
Run -> Run Configurations -> richtext.fan -> Arguments taband change theWorking directorytootherand browse to wherever the source file is. I tend to use eclipse workspace paths, so my working directory would look something like:${workspace_loc:FantomExamples/fan}OR
change line 52 to an absolute location of a text file:
rasa Wed 10 Sep 2014
Thanks.