SDA SE Wiki

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

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
research:pdt:contribute:restructuring [2012/08/30 13:01]
andreas.becker
research:pdt:contribute:restructuring [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== PDT 2.0 restructuring ======
  
 +PDT 2.0 has a [[architecture|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.x^Changes^PDT 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.library|Plugin renamed|prolog.library|
 +|pdt.runtime.builder|Plugin renamed|pdt.builder|
 +|pdt.core|//​removed,​ there is currently no Prolog nature//||
 +|pdt|splitted \\ 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