0
BUILDING ECLIPSE PLUG-INSAND RCP APPLICATIONSWITH TYCHOJan Sievers & Tobias Oberlies , SAP AG
Tutorial Outline Part 1: Introduction – 1:00 pm – 1:30 pm     Tycho Overview Part 2: Hands-on Tutorial – 1:30 pm – 4:00...
Part 1: IntroductionCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0   26.03.2012
What is Tycho? A manifest-first way to build...       Eclipse plug-ins/OSGi bundles       Features       p2 Repositori...
Tycho and Maven Tycho provides a maven build extension and several  maven build plug-ins Maven drives the build process ...
Tycho and PDE Tycho re-uses PDE metadata files       OSGi bundle manifest (META-INF/MANIFEST.MF)       build.properties...
Tycho and p2 Tycho is a p2 artifact/metadata consumer and  producer     Resolves dependencies against p2 repositories   ...
Where is Tycho? Tycho is a Technology incubator project at Eclipse     Sources are at git.eclipse.org      and mirrored ...
Contributors & Users Committers     Igor Fedorenko (Sonatype Inc.), Lead     Tobias Oberlies (SAP AG)     Jan Sievers ...
Part 2: Hands-on TutorialCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0   26.03.2012
Hands-on Exercises Step by step we will set up a Tycho build for an  e4 RCP application:       Create a Hello World RCP ...
Hands-On Setup Everything you need for the exercises is provided  on the USB stick we handed out The exercise instructio...
Related Sessions Maven/Tycho     Tycho - still good, bad or ugly ?     Get ready to fight your technical debt, with Tyc...
Please give feedback!   1. Sign In: www.eclipsecon.org   2. Select Session Evaluate   3. VoteCopyright (c) 2012 SAP AG and...
Upcoming SlideShare
Loading in...5
×

Tycho Tutorial (EclipseCon 2012)

5,985

Published on

slides from the EclipseCon 2012 tutorial "Building Eclipse Plugins and RCP applications with Tycho"

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
5,985
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
89
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Tycho uses JDT compiler – respects package visibility rules (export package)
  • Limited support: build.properties, *.target files (but no longer different interpretation)Dependencies: OSGi Manifest Only = manifest first; dependencies in POM ignored/special semantics
  • Tycho is the first Maven plug-in at Eclipse
  • Contributors: SAP AG – various; Inventage AG – Beat Strasser; plus a couple of small contributionsRecent = last 6 monthsCDT = Eclipse's C/C++ Development ToolingCommercial adoption: SAP OSGi based tools/servers; JBoss tools (large project -> separate talk)
  • Transcript of "Tycho Tutorial (EclipseCon 2012)"

    1. 1. BUILDING ECLIPSE PLUG-INSAND RCP APPLICATIONSWITH TYCHOJan Sievers & Tobias Oberlies , SAP AG
    2. 2. Tutorial Outline Part 1: Introduction – 1:00 pm – 1:30 pm  Tycho Overview Part 2: Hands-on Tutorial – 1:30 pm – 4:00 pm  Building an e4 RCP application with TychoCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    3. 3. Part 1: IntroductionCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    4. 4. What is Tycho? A manifest-first way to build...  Eclipse plug-ins/OSGi bundles  Features  p2 Repositories  RCP Applications...with MavenCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    5. 5. Tycho and Maven Tycho provides a maven build extension and several maven build plug-ins Maven drives the build process using the project object model (pom.xml) Tycho can be combined with other Maven plug-ins  QA tools: FindBugs, Checkstyle, PMD, ...  Code generators  ... Tycho integrates with Maven  Follow conventions for build output folder  Inject OSGi dependencies into Maven dependency model  Inject source folders and compile class-pathCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    6. 6. Tycho and PDE Tycho re-uses PDE metadata files  OSGi bundle manifest (META-INF/MANIFEST.MF)  build.properties  feature.xml  site.xml/category.xml  *.product files  *.target files You can continue using PDE UI toolsCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    7. 7. Tycho and p2 Tycho is a p2 artifact/metadata consumer and producer  Resolves dependencies against p2 repositories  Produces p2 repositories Think of Tycho as a „Maven build frontend with a p2 repository backend“Copyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    8. 8. Where is Tycho? Tycho is a Technology incubator project at Eclipse  Sources are at git.eclipse.org and mirrored to github  Documentation: wiki.eclipse.org/Tycho  Mailing lists: tycho-user, tycho-dev  Issue tracker: Bugzilla Tycho 0.14.1 is available from Maven centralCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    9. 9. Contributors & Users Committers  Igor Fedorenko (Sonatype Inc.), Lead  Tobias Oberlies (SAP AG)  Jan Sievers (SAP AG) Various contributions  Contributor guide Users  EGit, m2eclipse, CDT, CBI, JBoss tools, Sigasi ...  ~45 threads/month on tycho-usersCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    10. 10. Part 2: Hands-on TutorialCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    11. 11. Hands-on Exercises Step by step we will set up a Tycho build for an e4 RCP application:  Create a Hello World RCP plugin  Add unit tests  Add a feature  Create a p2 repository  Build a productCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    12. 12. Hands-On Setup Everything you need for the exercises is provided on the USB stick we handed out The exercise instructions are fully self-contained Start with tutorial/README.htmlCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    13. 13. Related Sessions Maven/Tycho  Tycho - still good, bad or ugly ?  Get ready to fight your technical debt, with Tycho, Sonar, and Jacoco  M2Eclipse: The collaboration of the Maven & Eclipse Platforms p2  A gentle introduction to p2  Provisioning & Migration with p2: Case study - The Good, the Bad and the Ugly ALM  Best practices for using Hudson as part of your Agile strategy  How I Learned to Stop Worrying and Love the Build e4  (in parallel) Creating Rich Clients with Eclipse RCP 4.x  The Eclipse 4 Application Platform explainedCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    14. 14. Please give feedback! 1. Sign In: www.eclipsecon.org 2. Select Session Evaluate 3. VoteCopyright (c) 2012 SAP AG and others. Licensed under EPL v1.0 26.03.2012
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×