24
Making Eclipse IDE better at handling real-life projects CC-BY 4.0

Making Eclipse IDE better at handling real-life projects @EclipseCon NA 2015

Embed Size (px)

Citation preview

Making Eclipse IDE better at handling real-life projects

CC-BY 4.0

Me, myself and I

Mickael Istria @mickaelistria

Real-life projects: examples

https://github.com/paypal/rest-api-sample-app-java/

http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree

https://github.com/hypery2k/angular_cordova_app

Real-life projects: generalization

N-tiers: data, services, client...Multi-targets: Cloud, RCP, Web, Mobile Hybrid, Mobile Native...Dev/Ops: Code, deployment, Vms/Containers...Polyglot: Java, JavaScript, SQL, .dockerfiles,...Multi-frameworks: Java EE, AngularJS, Android, Cordova...Multi build/dependency tools: Maven, NPM, Bower, Grunt...Replaceable/Moveable components: Android/Native ↔ Cordova, Spring ↔ Java EE, Java EE ↔ Node.js...

TL;DR: Modularity and multiple technologies

Making Eclipse IDE better at handling projects with multiple technologies

CC-BY 4.0

Eclipse IDE and multiple technologies

...Eclipse IDE is already GREAT when it comes to mixing mutliple technologies in the same project...

When those projects are configured correctly!!!

Assuming that your IDE has the right tools installed (discussion out of the scope of this presentation)...

?

A solution: Automate decision

Extensible framework

Hack, Adopt, ContributeSources:➢ http://git.eclipse.org/c/e4/org.eclipse.e4.ui.git (& Gerrit):

bundles/org.eclipse.e4.ui.importer➢ https://github.com/jbosstools/jbosstools-playground:

plugins/org.jboss.tools.easymport➢ Target: in Platform for Neptune (?)

Hackathon Tonight!

Making Eclipse IDE better at handling structured projects

CC-BY 4.0

Nested project

Hierarchical

Component / Composite

Inner projectModule

Subproject

Nested Projects are in Eclipse 4.5.M5

Under the hood...

...it's actually easy!

http://www.toxel.com/tech/2012/05/26/pedal-powered-ferrari/

Common Navigator Framework at work

Source: Target:

http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fcnf.htm

org.eclipse.ui.navigator.navigatorContent/commonFilter org.eclipse.ui.navigator.navigatorContent/navigatorContent

Hack, Fix, ContributeSources:➢ http://git.eclipse.org/c/platform/eclipse.platform.ui.git (&

Gerrit): bundles/org.eclipse.ui.navigator.resources

Hackathon Tonight!

Overall demo

Making Eclipse IDE better at handling real-life projects

CC-BY 4.0

Time to discuss!

Related:● Hackathon (tonight)● Java EE 7 using Eclipse (tomorrow)● Making Eclipse with HTML and JavaScript fun again! (tomorrow)● Red Hat booth