Saturday, 4 June 2016

Building Eclipse from Scratch

I read a mailing list that outlines the reason why Debian unstable still has a Eclipse version that is 4 years old. No one has been able to package it up fully and maintain it since version 3.8 of Eclipse. The latest version of eclipse is 4.5 (Mars)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681726

Then I thought that I have never built Eclipse from scratch previously. I wondered how hard it would be.

Thankfully they have made it easy by using a git repo that has a list of sub modules. Everything you need is in the platform aggregator repo.

By follow Section 13.4 in this tutorial you can build Eclipse 4.x. Previously the build was done differently. The new way to build is with Tycho.
http://www.vogella.com/tutorials/EclipsePlatformDevelopment/article.html

Run this command and you will see the GIT project is made up of all other projects that together form the Eclipse Java Develop Tool IDE.


 ~/eclipsebuild/eclipse.platform.releng.aggregator$ git config --file .gitmodules --name-only --get-regexp path  
 submodule.eclipse.jdt.path  
 submodule.eclipse.jdt.core.path  
 submodule.eclipse.jdt.core.binaries.path  
 submodule.eclipse.jdt.debug.path  
 submodule.eclipse.jdt.ui.path  
 submodule.eclipse.pde.path  
 submodule.eclipse.pde.build.path  
 submodule.eclipse.pde.ui.path  
 submodule.eclipse.platform.path  
 submodule.eclipse.platform.common.path  
 submodule.eclipse.platform.debug.path  
 submodule.eclipse.platform.releng.path  
 submodule.eclipse.platform.resources.path  
 submodule.eclipse.platform.runtime.path  
 submodule.eclipse.platform.swt.path  
 submodule.eclipse.platform.swt.binaries.path  
 submodule.eclipse.platform.team.path  
 submodule.eclipse.platform.text.path  
 submodule.eclipse.platform.ua.path  
 submodule.eclipse.platform.ui.path  
 submodule.rt.equinox.binaries.path  
 submodule.rt.equinox.bundles.path  
 submodule.rt.equinox.framework.path  
 submodule.rt.equinox.p2.path  
 submodule.eclipse.platform.ui.tools.path  

1 comment:

  1. Mysuru Casino - The HERZAMMAN
    Mysuru Casino - The Home of the Best of the worrione Slots! Visit us to Play jancasino.com the 바카라 사이트 best slots and enjoy the best table games in febcasino.com our 도레미시디 출장샵 casino. Visit us

    ReplyDelete