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

Difference between revisions of "OTDevelopmentSetup"

Line 25: Line 25:
  
 
;compile:Since installing the OTDT already provides all dependencies, compiling in the IDE should work out of the box.
 
;compile:Since installing the OTDT already provides all dependencies, compiling in the IDE should work out of the box.
 +
* create jars for the runtime environment using these jar descriptions (will appear in org.eclipse.objectteams.otdt/lib):
 +
** org.eclipse.objectteams.runtime/otre_min.jardesc
 +
** org.eclipse.objectteams.otre/otre_agent.jardesc
 +
** org.eclipse.objectteams.otredyn/otre_agent.jardesc
  
 
;deploy / export plug-ins and features:Use the wizard '''Export > Plug-in Development > Deployable features''' and select these features:
 
;deploy / export plug-ins and features:Use the wizard '''Export > Plug-in Development > Deployable features''' and select these features:

Revision as of 19:57, 7 May 2014

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.

compile
Since installing the OTDT already provides all dependencies, compiling in the IDE should work out of the box.
  • create jars for the runtime environment using these jar descriptions (will appear in org.eclipse.objectteams.otdt/lib):
    • org.eclipse.objectteams.runtime/otre_min.jardesc
    • org.eclipse.objectteams.otre/otre_agent.jardesc
    • org.eclipse.objectteams.otredyn/otre_agent.jardesc
deploy / export plug-ins and features
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
building the command line compiler
You may simply use the org.eclipse.jdt.core_3.X.Y.v_OTDT_abc.jar produced by the above export.
  • Alternatively, for building the minimal ecotj.jar run org.eclipse.jdt.core/scripts/export-ecj.xml as Ant Build.
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
projects and dependencies
The full list of plug-ins and features including dependencies can be found in /releng/map/otdt.map

Copyright © Eclipse Foundation, Inc. All Rights Reserved.