Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
BUILDING ECLIPSE PLUG-INSAND RCP APPLICATIONSWITH TYCHOTobias Oberlies & Jan Sievers, SAP AG
Outline Part 1: Introduction     What is Tycho?          Re-uses PDE Metadata and Concepts          Integrates with Ma...
Part 1: IntroductionCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0   2.11.2011
What is Tycho? Tycho is a Maven extension for building       Eclipse plug-ins/OSGi bundles       Features       p2 Rep...
Characteristics – Part 1 Tycho re-uses PDE metadata files       OSGi manifest (META-INF/MANIFEST.MF)       build.proper...
Characteristics – Part 2 Tycho runs like normal Maven builds Tycho can be combined with other Maven plug-ins     QA too...
Characteristics – Part 3 Tycho speaks p2     Retrieves dependencies from p2 repositories     Produces p2 repositories ...
Where is Tycho? Tycho is an incubator project at Eclipse     Tycho sources are at Eclipse since September 2011         ...
Contributors & Users Committers     Tobias Oberlies (SAP AG)     Jan Sievers (SAP AG)     Igor Fedorenko (Sonatype Inc...
Part 2: Hands-on TutorialCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0   2.11.2011
Hands-on Exercises Step by step we will set up a typical Tycho build for  an RCP application:       Create a Hello World...
Hands-On Setup Everything you need for the exercises is provided  on the USB stick we handed out The exercise instructio...
Nächste SlideShare
Wird geladen in …5
×

Building Eclipse Plugins and RCP applications with Tycho

4.413 Aufrufe

Veröffentlicht am

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

Building Eclipse Plugins and RCP applications with Tycho

  1. 1. BUILDING ECLIPSE PLUG-INSAND RCP APPLICATIONSWITH TYCHOTobias Oberlies & Jan Sievers, SAP AG
  2. 2. Outline Part 1: Introduction  What is Tycho?  Re-uses PDE Metadata and Concepts  Integrates with Maven  Speaks p2  Who & where is Tycho Part 2: Hands-on Tutorial  Building an RCP application with TychoCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  3. 3. Part 1: IntroductionCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  4. 4. What is Tycho? Tycho is a Maven extension for building  Eclipse plug-ins/OSGi bundles  Features  p2 Repositories  RCP Applications Tycho runs JUnit tests in an OSGi runtimeCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  5. 5. Characteristics – Part 1 Tycho re-uses PDE metadata files  OSGi manifest (META-INF/MANIFEST.MF)  build.properties  feature.xml  site.xml/category.xml  *.product files  *.target files Tycho re-uses PDE concepts  Target platform – but there is one per project :-)Copyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  6. 6. Characteristics – Part 2 Tycho runs like normal Maven builds 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 model  Inject compile class-path (approximation)Copyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  7. 7. Characteristics – Part 3 Tycho speaks p2  Retrieves dependencies from p2 repositories  Produces p2 repositories Tycho is based on p2  Test runtime is test bundle plus dependencies (resolved with p2)  Original p2 metadata is preserved – no re-publishing Note: Some legacy parts are not “p2 natives”  eclipse-update-site, eclipse-applicationCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  8. 8. Where is Tycho? Tycho is an incubator project at Eclipse  Tycho sources are at Eclipse since September 2011  Thanks to Wayne Beaton for paving our way  Documentation: wiki.eclipse.org/Tycho  Mailing lists: tycho-user, tycho-dev  Issue tracker: Bugzilla Tycho 0.13.0 is available from Maven centralCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  9. 9. Contributors & Users Committers  Tobias Oberlies (SAP AG)  Jan Sievers (SAP AG)  Igor Fedorenko (Sonatype Inc.) Recent contributions from SAP AG, Inventage AG, and others Users  EGit, m2eclipse, CDT, JBoss tools, ...  ~45 threads/month on tycho-usersCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  10. 10. Part 2: Hands-on TutorialCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  11. 11. Hands-on Exercises Step by step we will set up a typical Tycho build for an RCP application:  Create a Hello World RCP plugin  Add unit tests  Add a feature  Create a p2 repository  Add a product  Use a target fileCopyright (c) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011
  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) 2011 SAP AG and others. Licensed under EPL v1.0 2.11.2011

×