|
Re: [Oomph] platform set-up [message #1271052 is a reply to message #1271033] |
Fri, 14 March 2014 06:10 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Jeremie,
Comments below.
On 14/03/2014 6:05 AM, Jeremie Bresson wrote:
> After the different blog posts (http://akurtakov.blogspot.ch/2014/02/thoughts-on-eclipse-platform.html and of course http://ed-merks.blogspot.fr/2014/02/shoes-for-shoemaker.html), I thought it would be nice to try the platform set-up script.
>
> It is really easy. You just need time (in my case 1.5 hours) and a stable internet connection...
Yes, there's a lot of stuff to clone, and some clones like the SWT
binaries are very big...
>
> The workspace I get contains errors. I get 122 items.
The platform setup was horrible to author...
So many poor things in the repos, e.g., automated ant tasks that build
the platform's ant task jars but don't do a proper refresh of the
workspace afterwards so downstream and ant task jars don't build... So
I have a bunch of tasks that "mangle" the cloned repo to fix problems in
those kinds problems. (Also, many projects have project specific
preferences that complain if the JRE isn't an exact match, so you
essentially have to have 3 perfectly matching JREs; I have tasks to turn
off those options). Even then not every problem could be eliminated.
For example, the problem with the the compatibility registry just
refuses to compile unless you restart the IDE; that seems like some kind
of PDE bug. Generally, what I ended up doing manually is a full refresh
of the workspace followed by a restart of the IDE; that makes the
compatibility registry stuff compile. In the worst case, try another
clean build as well after the restart...
I've tried to determine how the developers of these projects actually
manage to deal with all these problems. The answers weren't pretty;
they seem to expect these kinds of problems, and focus just on the one
repo they're particularly interested in working on...
I can only hope that someone on the platform team will take some
responsibility for the setup scripts and provide specific ones for
projects like JDT and PDE include tests...
Please let me know if the refresh, restart, and potentially also clean
builds help eliminate all the errors in the end...
It did for me, and I was able to launch a self hosted Eclipse driven
purely from all the git-backed source... The target platform mostly
just contains Orbit things; ECF would mostly worked except for
https://bugs.eclipse.org/bugs/show_bug.cgi?id=272317. I see that's
marked as fixed now, so I should try again...
> Here is how it looks like.
>
> Package explorer:
>
>
> Problems view:
>
>
> (see the whole problems list as text file)
>
>
> How can I fix them?
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03752 seconds