Upload
lars-vogel
View
3.217
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Describes how to build the Eclipse IDE
Citation preview
How to become an Eclipse committer in 20 minutes and to fork the Eclipse IDE
Lars VogelEclipse committer
Eclipse and Android developer
Company founder
Java Champion
vogella.com reaches 1.5 million readers per month
First
lets b
ecome
a comm
itter
Then f
ork th
e Ecli
pse ID
E
Tradionally the Eclipse
programming model made it
easy to add something on top of Eclipse.
But what about changing the Eclipse IDE or
framework?
New developers
It is Open Source, how hard can it be?
This is really hard.
I use IntelliJ
because Eclipse sucks
I hope someone fixes this
bug because it
is really bad.... for
me
A new age
GitTycho CBIGerrit
Eclipse source
http://git.eclipse.org
Search box
Git clone
git clone git://git.eclipse.org/gitroot/e4/org.eclipse.e4.tools.git
You fix and you commit
(locally)
Now you are
a committer
But, your patch or Gerrit request never
gets reviewed...
All right, I go and help Debian in this case..
I use IntelliJ
because Eclipse sucks
Or you can...
Fork you!
Yeah!
Eclipse Tycho
Repository
Plug-ins
Modules to build
Component pom.xml
mvn -clean install
Target
Lets start small
I build the e4 tools
Reality
# Clone the releng repogit clone git://git.eclipse.org/gitroot/e4/org.eclipse.e4.releng.git# Install the CBI build configurationmvn -f org.eclipse.e4.releng/cbi/eclipse-parent/pom.xml clean install
git clone git://git.eclipse.org/gitroot/e4/org.eclipse.e4.tools.git
mvn -clean install
Simplification in its making
Bug 386114 - Avoid duplication of id and version in pom.xml and MANIFEST
Bug 403237 - o.e.e4.tools cannot be build with "mvn clean install"
Bug 361722 - [patch] Unable to install root level features into product install
Build your own Eclipse IDE
All the cool kids are forking
Eclipse these days
Build Eclipse IDE# clonegit clone -b master --recurse-submodules \git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
git fetch origingit merge origin/mastergit pull --recurse-submodulesgit submodule update
# fix manifest.mf to pom.xml versionscd eclipse.platform.releng.aggregator/mvn -Dtycho.mode=maven -Dmaven.repo.local=${WORKSPACE}/.repository org.eclipse.tycho:tycho-versions-plugin:update-pom
# buildmvn clean install -Pno-bree-libs -Dmaven.test.skip=true
Your own Eclipse IDE build
Apply modification
Clone the corresponding repoCreate new repo at Github
Push your changes to Github and merge them everytime before the
build
vogella Eclipse IDE build
Distribution:http://download.vogella.com/kepler/I-Build/sdk
p2 repo http://download.vogella.com/kepler/I-Build/
Demo provided by l33t labs (L33tLabs.com)
Follow our CBI Build on Twitter
https://twitter.com/eclipsecbi
Where to go from here
http://wiki.eclipse.org/CBI Eclipse IDE CBI Build
http://www.vogella.com/articles/Git/article.html Git tutorial
http://www.vogella.com/articles/EGit/article.html EGit tutorial
http://www.vogella.com/articles/EclipseTycho/article.html EclipseTycho tutorial
For fhe love of Pete!I fix this bug!
Thank you
For further questions:
[email protected]://www.vogella.comTwitter http://www.twitter.com/vogellaGoogle+ http://gplus.to/vogella