Main Features
F4 v1.1.10 main updates:
- Fixed File Locking issue on Windows, raised after a project compilation
- Internal Fantom compiler updated to Fantom 1.0.80 HEAD (as of 15 Aug 2024)
The file locking issue was quite problematic on Windows. Should a Fantom program be running, then its pod could not be overwritten by the F4 compiler. This is due to updates in the core Fantom sys pod, whereby File.copyTo()
was updated to use Java NIO. The Fantom Runtime uses File mmap
which locks the File to Java NIO copy commands.
Some links on the issue:
- https://stackoverflow.com/questions/4179145/release-java-file-lock-in-windows
- fantom-lang/fantom@5ad3563
- https://bugs.java.com/bugdatabase/view_bug?bug_id=4715154
The fix was to copy the newly compiled pod using Streams, as oppose to a straight system file copy command.
Dark Mode
The last release introduced a Dark Mode. The default eclipse colours for Dark Mode are pretty poor, but are easy enough to change.
Essential Plugins
- Mercurial Eclipse - (Update Site)
- eGit - (Update Site)
- Vrapper - (Update Site)
- Trio Editor
- FPM
Well, they're essential to me! :)
Have fun!
NOTE: F4 v1.1.10 was re-released on 26 Aug 2024 to fix a bug whereby built pods were not being copied / published if there were any compilation warnings, e.g. @Deprecated
warnings.