SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Command disabled: backlink

PDT 2.0 restructuring

PDT 2.0 has a new architecture. If you have an plugin that uses the Java API of a PDT version < 2.0 you must understand the following changes and implied migration steps.

Changes from PDT 0.x to PDT 2.0

PDT 0.xChangesPDT 2.0
pdt.runtime
pdt.runtime.socket
pdt.common
Combined
Package renamings
prolog.connector
pdt.runtime.ui
pdt.common.ui
Combined
Package renamings
prolog.connector.ui
pdt.prolog.libraryPlugin renamedprolog.library
pdt.runtime.builderPlugin renamedpdt.builder
pdt.coreremoved, there is currently no Prolog nature
pdtsplitted
updated dependencies
pdt.common
pdt.editor
pdt.navgiator
pdt (contains only the Prolog perspective)

Update your Plugin to PDT 2.0

To update your plugin to the new PDT make sure to

  • Update the plugin dependencies (see table above)
  • Update extension points:
    • org.cs3.pdt.runtime.bootstrapContribution → org.cs3.prolog.connector.bootstrapContribution
    • org.cs3.pdt.runtime.hooks → org.cs3.prolog.connector.hooks
    • org.cs3.pdt.runtime.prologLibrary→ org.cs3.prolog.connector.prologLibrary
  • “Organize imports” in the whole workspace (this should fix most cases, since only packages were renamed)
    • some files need to be handled manually, for example org.cs3.prolog.common.Util
  • some methods (from pdt.core) were moved to org.cs3.prolog.common.Util. The source code for pdt.core is still available in the GIT if you need something from it.
research/pdt/contribute/restructuring.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019