Has anyone else tried installing this, are there elcipse update sites for the dependencies needed. I tried to install the dependencies (ANTLR, EMF, DLTK) manually, but that just did horrible things to my eclipse installation.
I'd love to be able to use eclipse to write Fantom code, does anyone have a more step by step guide to installing everything.
ivanFri 25 Jun 2010
geo, The current update site includes necessary versions of DLTK and ANTRL, the EMF runtime dependency resolves to Galileo or Helios update site automatically, there is no need to install prerequisites now
You can connect to #fantom irc channel and I can assist you in real-time
dfreireFri 25 Jun 2010
geo, I've just used the update site (http://download.xored.com/fanide/updates/) and everything went smoothly
dfreireFri 25 Jun 2010
ivan, are you using xtext? http://www.eclipse.org/Xtext/
ivanSat 26 Jun 2010
dfreire,
We use Xtext in our company on other projects and quite happy with it, but for Fantom we use DLTK as platform and Fantom-written parser.
ikhwanhayatSat 26 Jun 2010
Hi, I'm new to both Fantom and Eclipse.
@ivan I'm trying your IDE, and encountered a problem. When running the project, I got this error:
Errors occurred during the build.
Errors running builder 'Script Builder' on project 'myproject'.
compiler::CompilerErr: Pod not found 'sys'
I'm on Windows 7, using Eclipse Classic version: 3.6.0
I followed the steps from your screencast. But for the interpreter, I use fan.exe instead of the fan script.
Can you help me with that? Thanks.
DanielFathSat 26 Jun 2010
Nice video.
I can't seem to get it working for me. It seems my DLTK is 2.0 and F4 won't work with it...
Cannot complete the install because of a conflicting dependency.
Software being installed:
F4 - Fantom IDE 1.0.0.v20100625-1638-7P-9QEMNbpBorCdPPEVUU
(com.xored.fanide.feature.group 1.0.0.v20100625-1638-7P9QEMNbpBorCdPPEVUU)
Software currently installed: Dynamic Languages Toolkit -
Core Frameworks 1.0.2.v20100208-7C-77EAAoORwQXXqBeY-d
(org.eclipse.dltk.core.feature.group 1.0.2.v20100208-7C-77EAAoORwQXXqBeY-d)
Only one of the following can be installed at once:
Dynamic Languages Toolkit Validators UI 1.0.0.v20090610-1638
(org.eclipse.dltk.validators.ui 1.0.0.v20090610-1638)
Dynamic Languages Toolkit Validators UI 2.0.0.v20091214-1712
(org.eclipse.dltk.validators.ui 2.0.0.v20091214-1712)
Cannot satisfy dependency:
From: F4 - Fantom IDE 1.0.0.v20100625-1638-7P-9QEMNbpBorCdPPEVUU
(com.xored.fanide.feature.group 1.0.0.v20100625-1638-7P-9QEMNbpBorCdPPEVUU)
To: org.eclipse.dltk.core.feature.group [2.0.0.qualifier,3.0.0)
Cannot satisfy dependency:
From: Dynamic Languages Toolkit -
Core Frameworks 1.0.2.v20100208-7C- 77EAAoORwQXXqBeY-d
(org.eclipse.dltk.core.feature.group 1.0.2.v20100208-7C- 77EAAoORwQXXqBeY-d)
To: org.eclipse.dltk.validators.ui [1.0.0.v20090610-1638]
I've downloaded a fresh version of eclipse and reinstalled, however others might not want to compromise in such way.
alex_panchenkoSun 27 Jun 2010
@DanielFath You have DLTK 1.0.2 installed, but F4 depends on DLTK HEAD (just released as 2.0)
DanielFathSun 27 Jun 2010
Yeah, I figured that one out, but my update didn't work. GC overhead while resolving dependencies.
ikhwanhayatSun 27 Jun 2010
Regarding my problem, that was because JDK is not installed properly. msvcr71.dll doesn't exist in Windows 7 (or at least not the place that Java can see).
dfreireSun 27 Jun 2010
@ivan, it seems to me that the building of pods is not generating the javascript for @Js anotated classes, can you confirm it?
ivanMon 28 Jun 2010
@dfreire,
Yes, looks like we didn't hook all the necessary API :( Created a bug for it
jessevdamTue 20 Jul 2010
Good work, it works very fine now.
One very small detail, set the default preferences of color highlighting of the dsl expression to bold instead of italic. Italic text is not very fine to read in regular expressions.
keilwTue 20 Jul 2010
@ivan are you able to propose talking about F4 at Eclipse Summit Europe?
I am likely to present one or the other project (if they're accepted ;-) so I may help if you feel unable or are too far from Europe...? Eclipse normally doesn't pay your flight or accomodation, just waiving the conference cost.
andreyWed 21 Jul 2010
Hi Keilw,
@ivan is on short vacation now, so let me please reply on behalf of him. He is working at xored software, and we're one of ESE 2010 sponsors. So Ivan definitely will be at the summit this year.
We're not sure if F4 talk would gain much interest at the conference, however some aspects could be interesting. At least ability to write 100% pure Fantom Eclipse plugins, additionally to the fact that F4 is a first eclipse-based IDE written in non-Java programming language...
Anyway, thank you very much raising the point, and we definitely would be happy to participate in relevant events like IDEs for JVM-based languages BoF (like one at eclipsecon 2010 this year), etc. Please feel free to share your ideas and we're open to any cooperation possibilities if you're interested.
Thank you, Andrey
keilwWed 21 Jul 2010
Hi Andrey,
Thanks for the update. I was at EclipseCon, but speaking there myself. So I may have missed the BoF. You seem committer behind the DLTK already, so there are potential synergies especially with UOMo. We haven't specially targeted dynamic languages, but those supporting Units of Measure like Fantom are clearly prefered. Others like Scala with extensions, too.
What can you or Ivan tell me about Q7? The booklet looks interesting. Does it offer an IDE especially to Concordion or related TDD/BDD solutions? If so this may be a big synergy since we currently run a few projects at big companies.
Are you UK-based since many customers are there like BT?
Regards, Werner
mslTue 27 Jul 2010
Hey Guys,
Back towards the original thread of the topic - do you have an issue tracker that's publicly accessible for F4?
Cheers - great tool (so far it's my pick of the bunch!)
Martin
andreyTue 27 Jul 2010
Hey Martin,
Thank you very much for appreciating the tool, and we're looking forward for bugs/ideas /etc. Bugtracker is here http://bugs.xored.com (you need to signup first).
Kind Regards, Andrey
cbeustSun 1 Aug 2010
Ivan, Andrey,
I can't seem to get F4 to work. After creating a Fantom project at a location that already contains a few .fan files, Eclipse goes into "Building workspace" mode and it never exits. The only way out is to kill it.
The .log doesn't contain any errors and I also tried to create the project on a brand new workspace, but same behavior.
I'm using the following Eclipse:
Eclipse for RCP and RAP Developers
Version: Helios Release Build id: 20100617-1415
Any thoughts?
ivanMon 2 Aug 2010
cbeust,
Which version of Fantom do you use in F4? We haven't tested ut on versions < 1.0.52 and I guess that it may not work correctly (however in this case something should appear in error log). Also, while Building workspace... job hangs, can you explore containers like Interpreter libraries and Fantom Native Libraries? Are they contain correct information?
zyhongTue 10 Aug 2010
@ivan:
I am trying your plugin to open an existing project (fantomongo) but I keep getting this exception. Is there anyway to get around this?
Great IDE by the way. It works quite well when creating the project from scratch and most IDE feathers are implemented
===
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:15:47.536 !MESSAGE Error in FoldingBlockProvider !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 2 2010-08-10 12:15:48.102 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.dltk.ui". !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:15:48.104 !MESSAGE Error in DLTK Core during reconcile !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.core 4 0 2010-08-10 12:15:48.132 !MESSAGE Error in SemanticPositionUpdater !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.jface.text 4 0 2010-08-10 12:16:13.658 !MESSAGE Unexpected runtime error while computing a text hover !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.ui.workbench 2 0 2010-08-10 12:16:28.560 !MESSAGE A handler conflict occurred. This may disable some commands. !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-08-10 12:16:28.560 !MESSAGE Conflict for org.eclipse.jdt.ui.edit.text.java.open.editor: HandlerActivation(commandId=org.eclipse.jdt.ui.edit.text.java.open.editor,
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:16:42.047 !MESSAGE Error in FoldingBlockProvider !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 2 2010-08-10 12:16:42.595 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.dltk.ui". !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:16:42.600 !MESSAGE Error in DLTK Core during reconcile !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.core 4 0 2010-08-10 12:16:42.627 !MESSAGE Error in SemanticPositionUpdater !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.jface.text 4 0 2010-08-10 12:16:56.359 !MESSAGE Unexpected runtime error while computing a text hover !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275) at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:960) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:995) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:970) at org.eclipse.dltk.internal.ui.actions.SelectionConverter.performForkedCodeResolve(SelectionConverter.java:210) at org.eclipse.dltk.internal.ui.actions.SelectionConverter.codeResolveForked(SelectionConverter.java:139) at org.eclipse.dltk.ui.actions.OpenAction.resolveModelElements(OpenAction.java:151) at org.eclipse.dltk.ui.actions.OpenAction.run(OpenAction.java:163) at org.eclipse.dltk.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:263) at org.eclipse.dltk.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:235) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) Caused by: sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255) Root exception: sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 2 2010-08-10 12:16:59.150 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.dltk.ui". !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:16:59.153 !MESSAGE Error in DLTK Core during reconcile !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.core 4 0 2010-08-10 12:16:59.175 !MESSAGE Error in SemanticPositionUpdater !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
zyhongTue 10 Aug 2010
it seems that the dependency is not parsed when adding existing source to create a fantom project. Edit the depends var in build.fan will trigger the parsing and thus adding the necessary dependencies and it will work fine from there.
Great IDE. feather complete and very fast. Very impressed with its quality at first release.
ivanWed 11 Aug 2010
zyhong,
Thanks for a feedback! I've created an issue in our Jira - http://bugs.xored.com/browse/FAN-400, this definitely will be fixed with a new release.
qualidafialSun 17 Oct 2010
Can anybody on the project say when Milestone 2 is planned for release?
I'm getting bitten by FAN-393 at the moment, with no known workaround.
Hi qualidafial, Right now the installation instructions are located at http://www.xored.com/fantom/fantom-installation and the new update site always contains the latest version (last build was 2 days ago). Unfortunately right now we are not making active development, but today I'm working on some F4 bugs and will take a look at this bug.
qualidafialTue 19 Oct 2010
Ivan, thanks for the reply.
For what it's worth I found a workaround and posted it to FAN-393. Since following those steps everything is working great.
ivan Tue 22 Jun 2010
We almost done with newer version of Eclipse-based Fantom IDE and plan to release it in the end of this week.
small teaser - http://www.youtube.com/watch?v=zVqHsFs_RJo
key features
andy Tue 22 Jun 2010
Sweet!
dfreire Tue 22 Jun 2010
These are very good news. I will try it!
ivan Fri 25 Jun 2010
Finally, Milestone 1 has been released! Tested with Eclipse 3.5 and 3.6 on Linux, Mac, Windows
Installation instructions
geo Fri 25 Jun 2010
Has anyone else tried installing this, are there elcipse update sites for the dependencies needed. I tried to install the dependencies (ANTLR, EMF, DLTK) manually, but that just did horrible things to my eclipse installation.
I'd love to be able to use eclipse to write Fantom code, does anyone have a more step by step guide to installing everything.
ivan Fri 25 Jun 2010
geo, The current update site includes necessary versions of DLTK and ANTRL, the EMF runtime dependency resolves to Galileo or Helios update site automatically, there is no need to install prerequisites now
You can connect to #fantom irc channel and I can assist you in real-time
dfreire Fri 25 Jun 2010
geo, I've just used the update site (http://download.xored.com/fanide/updates/) and everything went smoothly
dfreire Fri 25 Jun 2010
ivan, are you using xtext? http://www.eclipse.org/Xtext/
ivan Sat 26 Jun 2010
dfreire,
We use Xtext in our company on other projects and quite happy with it, but for Fantom we use DLTK as platform and Fantom-written parser.
ikhwanhayat Sat 26 Jun 2010
Hi, I'm new to both Fantom and Eclipse.
@ivan I'm trying your IDE, and encountered a problem. When running the project, I got this error:
I'm on Windows 7, using Eclipse Classic version: 3.6.0
I followed the steps from your screencast. But for the interpreter, I use
fan.exe
instead of thefan
script.Can you help me with that? Thanks.
DanielFath Sat 26 Jun 2010
Nice video.
I can't seem to get it working for me. It seems my DLTK is 2.0 and F4 won't work with it...
I've downloaded a fresh version of eclipse and reinstalled, however others might not want to compromise in such way.
alex_panchenko Sun 27 Jun 2010
@DanielFath You have DLTK 1.0.2 installed, but F4 depends on DLTK HEAD (just released as 2.0)
DanielFath Sun 27 Jun 2010
Yeah, I figured that one out, but my update didn't work. GC overhead while resolving dependencies.
ikhwanhayat Sun 27 Jun 2010
Regarding my problem, that was because JDK is not installed properly.
msvcr71.dll
doesn't exist in Windows 7 (or at least not the place that Java can see).dfreire Sun 27 Jun 2010
@ivan, it seems to me that the building of pods is not generating the javascript for @Js anotated classes, can you confirm it?
ivan Mon 28 Jun 2010
@dfreire,
Yes, looks like we didn't hook all the necessary API :( Created a bug for it
jessevdam Tue 20 Jul 2010
Good work, it works very fine now.
One very small detail, set the default preferences of color highlighting of the dsl expression to bold instead of italic. Italic text is not very fine to read in regular expressions.
keilw Tue 20 Jul 2010
@ivan are you able to propose talking about F4 at Eclipse Summit Europe?
http://www.eclipsecon.org/summiteurope2010/submissions/?page=submissions
I am likely to present one or the other project (if they're accepted ;-) so I may help if you feel unable or are too far from Europe...? Eclipse normally doesn't pay your flight or accomodation, just waiving the conference cost.
andrey Wed 21 Jul 2010
Hi Keilw,
@ivan is on short vacation now, so let me please reply on behalf of him. He is working at
xored software
, and we're one of ESE 2010 sponsors. So Ivan definitely will be at the summit this year.We're not sure if F4 talk would gain much interest at the conference, however some aspects could be interesting. At least ability to write 100% pure Fantom Eclipse plugins, additionally to the fact that F4 is a first eclipse-based IDE written in non-Java programming language...
Anyway, thank you very much raising the point, and we definitely would be happy to participate in relevant events like IDEs for JVM-based languages BoF (like one at eclipsecon 2010 this year), etc. Please feel free to share your ideas and we're open to any cooperation possibilities if you're interested.
Thank you, Andrey
keilw Wed 21 Jul 2010
Hi Andrey,
Thanks for the update. I was at EclipseCon, but speaking there myself. So I may have missed the BoF. You seem committer behind the DLTK already, so there are potential synergies especially with UOMo. We haven't specially targeted dynamic languages, but those supporting Units of Measure like Fantom are clearly prefered. Others like Scala with extensions, too.
What can you or Ivan tell me about Q7? The booklet looks interesting. Does it offer an IDE especially to Concordion or related TDD/BDD solutions? If so this may be a big synergy since we currently run a few projects at big companies.
Are you UK-based since many customers are there like BT?
Regards, Werner
msl Tue 27 Jul 2010
Hey Guys,
Back towards the original thread of the topic - do you have an issue tracker that's publicly accessible for F4?
Cheers - great tool (so far it's my pick of the bunch!)
Martin
andrey Tue 27 Jul 2010
Hey Martin,
Thank you very much for appreciating the tool, and we're looking forward for bugs/ideas /etc. Bugtracker is here http://bugs.xored.com (you need to signup first).
Kind Regards, Andrey
cbeust Sun 1 Aug 2010
Ivan, Andrey,
I can't seem to get F4 to work. After creating a Fantom project at a location that already contains a few .fan files, Eclipse goes into "Building workspace" mode and it never exits. The only way out is to kill it.
The .log doesn't contain any errors and I also tried to create the project on a brand new workspace, but same behavior.
I'm using the following Eclipse:
Eclipse for RCP and RAP Developers
Version: Helios Release Build id: 20100617-1415
Any thoughts?
ivan Mon 2 Aug 2010
cbeust,
Which version of Fantom do you use in F4? We haven't tested ut on versions < 1.0.52 and I guess that it may not work correctly (however in this case something should appear in error log). Also, while
Building workspace...
job hangs, can you explore containers likeInterpreter libraries
andFantom Native Libraries
? Are they contain correct information?zyhong Tue 10 Aug 2010
@ivan:
I am trying your plugin to open an existing project (fantomongo) but I keep getting this exception. Is there anyway to get around this?
Great IDE by the way. It works quite well when creating the project from scratch and most IDE feathers are implemented
===
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:15:47.536 !MESSAGE Error in FoldingBlockProvider !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 2 2010-08-10 12:15:48.102 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.dltk.ui". !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:15:48.104 !MESSAGE Error in DLTK Core during reconcile !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.core 4 0 2010-08-10 12:15:48.132 !MESSAGE Error in SemanticPositionUpdater !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.jface.text 4 0 2010-08-10 12:16:13.658 !MESSAGE Unexpected runtime error while computing a text hover !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.ui.workbench 2 0 2010-08-10 12:16:28.560 !MESSAGE A handler conflict occurred. This may disable some commands. !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-08-10 12:16:28.560 !MESSAGE Conflict for
org.eclipse.jdt.ui.edit.text.java.open.editor
: HandlerActivation(commandId=org.eclipse.jdt.ui.edit.text.java.open.editor,handler=ActionHandler(org.eclipse.jdt.ui.actions.OpenAction@1bd46e4), expression=AndExpression(AndExpression(org.eclipse.ui.SubActionBars$1@1341e11,ActivePartExpression(org.eclipse.ui.navigator.CommonNavigator@149888e)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f52460)),sourcePriority=1064961) HandlerActivation(commandId=org.eclipse.jdt.ui.edit.text.java.open.editor, handler=ActionHandler(org.eclipse.jdt.ui.actions.OpenAction@1bd46e4), expression=AndExpression(AndExpression(org.eclipse.ui.SubActionBars$1@1341e11,ActivePartExpression(org.eclipse.ui.navigator.CommonNavigator@149888e)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f52460)),sourcePriority=1064961)
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:16:42.047 !MESSAGE Error in FoldingBlockProvider !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 2 2010-08-10 12:16:42.595 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.dltk.ui". !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:16:42.600 !MESSAGE Error in DLTK Core during reconcile !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.core 4 0 2010-08-10 12:16:42.627 !MESSAGE Error in SemanticPositionUpdater !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.jface.text 4 0 2010-08-10 12:16:56.359 !MESSAGE Unexpected runtime error while computing a text hover !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:16:58.441 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275) at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:960) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:995) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:970) at org.eclipse.dltk.internal.ui.actions.SelectionConverter.performForkedCodeResolve(SelectionConverter.java:210) at org.eclipse.dltk.internal.ui.actions.SelectionConverter.codeResolveForked(SelectionConverter.java:139) at org.eclipse.dltk.ui.actions.OpenAction.resolveModelElements(OpenAction.java:151) at org.eclipse.dltk.ui.actions.OpenAction.run(OpenAction.java:163) at org.eclipse.dltk.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:263) at org.eclipse.dltk.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:235) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) Caused by: sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255) Root exception: sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 2 2010-08-10 12:16:59.150 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.dltk.ui". !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.ui 4 10001 2010-08-10 12:16:59.153 !MESSAGE Error in DLTK Core during reconcile !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
!ENTRY org.eclipse.dltk.core 4 0 2010-08-10 12:16:59.175 !MESSAGE Error in SemanticPositionUpdater !STACK 0 sys::Err: org.eclipse.dltk.core.ModelException: fantomongo does not exist
at fan.sys.Err.make(Err.java:43) at fan.sys.Method.invoke(Method.java:547) at fan.sys.Method$MethodFunc.callOn(Method.java:214) at fan.sys.Method.callOn(Method.java:148) at fan.f4core.FantomProjectManager.receive(FantomProjectManager.fan:53) at fan.sys.Actor._dispatch(Actor.java:220) at fan.sys.Actor._work(Actor.java:191) at fanx.util.ThreadPool$Worker.run(ThreadPool.java:255)
zyhong Tue 10 Aug 2010
it seems that the dependency is not parsed when adding existing source to create a fantom project. Edit the depends var in build.fan will trigger the parsing and thus adding the necessary dependencies and it will work fine from there.
Great IDE. feather complete and very fast. Very impressed with its quality at first release.
ivan Wed 11 Aug 2010
zyhong,
Thanks for a feedback! I've created an issue in our Jira - http://bugs.xored.com/browse/FAN-400, this definitely will be fixed with a new release.
qualidafial Sun 17 Oct 2010
Can anybody on the project say when Milestone 2 is planned for release?
I'm getting bitten by FAN-393 at the moment, with no known workaround.
Also, there is a typo in the link to JIRA on http://kb.xored.com/display/FDT/F4+Installation+Instructions. The URI scheme is "hhttp" instead of "http".
ivan Mon 18 Oct 2010
Hi qualidafial, Right now the installation instructions are located at http://www.xored.com/fantom/fantom-installation and the new update site always contains the latest version (last build was 2 days ago). Unfortunately right now we are not making active development, but today I'm working on some F4 bugs and will take a look at this bug.
qualidafial Tue 19 Oct 2010
Ivan, thanks for the reply.
For what it's worth I found a workaround and posted it to FAN-393. Since following those steps everything is working great.
Thank you again for working on this great plugin!