Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

OTDevelopmentSetup

Revision as of 14:50, 14 February 2013 by Stephan.herrmann.berlin.de (Talk | contribs) (New page: For hacking on the OTDT the following steps should get you going. Note that headless build and steps for a release are described at OTBuilding. * ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

For hacking on the OTDT the following steps should get you going. Note that headless build and steps for a release are described at OTBuilding.

  • Install a recent Eclipse SDK
  • Install a matching version of the OTDT into the above
    Consider also installing the corresponding source feature, for lookup of source code for plugins which you don't have in your workspace
  • Install EGit
  • Clone this repo: http://git.eclipse.org/c/objectteams/org.eclipse.objectteams.git
  • Check out projects from git:
    • Minimally:
      • org.eclipse.jdt.core
    • For the full OTDT add:
      • all projects under plugins/
    • For tests add
      • org.eclipse.jdt.core.tests.compiler
      • org.eclipse.jdt.core.tests.model
      • all projects under testplugins
      note that tests have dependencies on further test projects from JDT and related, which are hosted in their respective repositories.
      TODO collect minimal set of references, maybe some full zip of dependent test projects
    • For interactive deployment add
      • all projects under features/
compile
Since installing the OTDT already provides all dependencies, compiling in the IDE should work out of the box.
deploy / export
Use the wizard Export > Plug-in Development > Deployable features and select these features:
  • org.eclipse.objectteams.otdt -- the umbrella feature for the IDE
  • org.eclipse.objectteams.otdt.core.patch -- patch feature containing the OT/J version of JDT/Core
  • org.eclipse.objectteams.otequinox -- OT/J runtime and integration for Equinox
test
There are lots of individual JUnit suites, and aggregate suites, typically called s.t. like TestAll.
  • The central suite for OT/J is org.eclipse.objectteams.otdt.tests.otjld.AllTests
  • Each test suite can be invoked using Run As ... > JUnit Plug-in Test
  • For those tests not including any UI test launch can be optimized on the Main tab of the launch configuration by selecting Program to Run > Run an application > [No Application] - Headless Mode

Back to the top