How to become an Eclipse committer in 20 minutes and fork the IDE
-
Upload
lars-vogel -
Category
Technology
-
view
3.222 -
download
0
description
Transcript of How to become an Eclipse committer in 20 minutes and fork the IDE
![Page 1: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/1.jpg)
How to become an Eclipse committer in 20 minutes and to fork the Eclipse IDE
![Page 2: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/2.jpg)
Lars VogelEclipse committer
Eclipse and Android developer
Company founder
Java Champion
vogella.com reaches 1.5 million readers per month
![Page 3: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/3.jpg)
First
lets b
ecome
a comm
itter
Then f
ork th
e Ecli
pse ID
E
![Page 4: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/4.jpg)
Tradionally the Eclipse
programming model made it
easy to add something on top of Eclipse.
![Page 5: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/5.jpg)
But what about changing the Eclipse IDE or
framework?
![Page 6: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/6.jpg)
New developers
It is Open Source, how hard can it be?
![Page 7: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/7.jpg)
This is really hard.
![Page 8: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/8.jpg)
I use IntelliJ
because Eclipse sucks
![Page 9: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/9.jpg)
I hope someone fixes this
bug because it
is really bad.... for
me
![Page 10: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/10.jpg)
A new age
GitTycho CBIGerrit
![Page 11: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/11.jpg)
Eclipse source
http://git.eclipse.org
![Page 12: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/12.jpg)
Search box
![Page 13: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/13.jpg)
Git clone
git clone git://git.eclipse.org/gitroot/e4/org.eclipse.e4.tools.git
![Page 14: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/14.jpg)
You fix and you commit
(locally)
![Page 15: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/15.jpg)
Now you are
a committer
![Page 16: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/16.jpg)
But, your patch or Gerrit request never
gets reviewed...
All right, I go and help Debian in this case..
![Page 17: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/17.jpg)
I use IntelliJ
because Eclipse sucks
![Page 18: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/18.jpg)
Or you can...
![Page 19: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/19.jpg)
Fork you!
Yeah!
![Page 20: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/20.jpg)
Eclipse Tycho
![Page 21: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/21.jpg)
Repository
Plug-ins
![Page 22: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/22.jpg)
Modules to build
![Page 23: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/23.jpg)
Component pom.xml
![Page 24: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/24.jpg)
mvn -clean install
Target
![Page 25: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/25.jpg)
Lets start small
I build the e4 tools
![Page 26: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/26.jpg)
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
![Page 27: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/27.jpg)
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
![Page 28: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/28.jpg)
Build your own Eclipse IDE
All the cool kids are forking
Eclipse these days
![Page 29: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/29.jpg)
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
![Page 30: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/30.jpg)
Your own Eclipse IDE build
![Page 31: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/31.jpg)
Apply modification
Clone the corresponding repoCreate new repo at Github
Push your changes to Github and merge them everytime before the
build
![Page 32: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/32.jpg)
vogella Eclipse IDE build
Distribution:http://download.vogella.com/kepler/I-Build/sdk
p2 repo http://download.vogella.com/kepler/I-Build/
![Page 33: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/33.jpg)
Demo provided by l33t labs (L33tLabs.com)
![Page 34: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/34.jpg)
Follow our CBI Build on Twitter
https://twitter.com/eclipsecbi
![Page 35: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/35.jpg)
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
![Page 36: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/36.jpg)
For fhe love of Pete!I fix this bug!
![Page 37: How to become an Eclipse committer in 20 minutes and fork the IDE](https://reader034.fdocuments.net/reader034/viewer/2022051211/555839e1d8b42acb078b4ad8/html5/thumbnails/37.jpg)
Thank you
For further questions:
[email protected]://www.vogella.comTwitter http://www.twitter.com/vogellaGoogle+ http://gplus.to/vogella