Update docs for newcomers to get it to compile inside Eclipse
It'd be nice to provide instructions on where to find dependencies so that TM4E compiles cleanly after getting the sources.
I've gotten Joni, JCodings and GSON from http://download.eclipse.org/tools/orbit/R-builds/R20170516192513/repository/ but I'm still missing bundle 'org.eclipse.ui.tests.harness'.
I thought it was from Eclipse Test Framework (from http://download.eclipse.org/eclipse/updates/4.7milestones/) but I installed it and it's still not resolving... docs targeting devs on how to start developing would be nice.
Also, after getting a clean copy from github, I have 2 other errors saying that projects org.eclipse.tm4e.core.tests and org.eclipse.tm4e.ui.etsts are missing required source folder src/main/java.
There is a .target definition exactly for this: https://github.com/eclipse/tm4e/blob/master/target-platform/tm4e-target.target . Just open it in the IDE and click "Set as Target Platform". But indeed, it could be documented to use it.
Any PR are welcome!
Ok, I did that, but now tests are still not compiling. Initial error says that the projects org.eclipse.tm4e.core.tests and org.eclipse.tm4e.ui.etsts are missing required source folder src/main/java.

If I just remove those from the build path, I get other compile errors too (as shown in the screenshot below).

So, I guess there's some other step I'm missing after setting the target platform.
p.s.: I'll create a PR after I'm able to go through what's needed myself ;)
Thanks for this - I was able to get it building by following it.
I've added a language to the samples project. How do I then build that as a plugin which I can install in another eclipse instance?
As a note, I still don't know how to fix the initial compile error (so, although I created a commit on my branch I still haven't created a PR because it's still incomplete).
That's interesting because I actually got all the compile errors resolved. It was after I opened the .target file mentioned by @mickaelistria. I actually am not sure what I did, but it didn't work immediately, I had to click around a few options before it happened and I can't recall now exactly which one made it work.
To follow up on my other question, I was able to build my plugin and save it to an archive file by creating a new "feature" project and just adding the .samples plugin to it, then exporting it.
_____________________________
From: Fabio Zadrozny [email protected] Sent: Friday, June 30, 2017 10:17 pm Subject: Re: [eclipse/tm4e] Update docs for newcomers to get it to compile inside Eclipse (#107) To: eclipse/tm4e [email protected] Cc: Andrew Myers [email protected], Comment [email protected]
As a note, I still don't know how to fix the initial compile error (so, although I created a commit on my branch I still haven't created a PR because it's still incomplete).
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.