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 "PTP/articles"

< PTP
(Other Articles and Documents about PTP)
(Other Articles and Documents about PTP)
Line 2: Line 2:
  
 
[http://www.eclipsecon.org/2008/?page=sub/&id=373 Static Analysis in PTP with CDT]
 
[http://www.eclipsecon.org/2008/?page=sub/&id=373 Static Analysis in PTP with CDT]
* The code in this talk mostly uses Eclipse 3.3 (Europa), CDT 4.0, and PTP 2.0.  For information on a development environment for this, see [[PTP/environment_setup_20 | Environment set up for PTP 2.0]]
+
* The code in this EclipseCon 2008 talk mostly uses Eclipse 3.3 (Europa), CDT 4.0, and PTP 2.0.  For information on a development environment for this, see [[PTP/environment_setup_20 | Environment set up for PTP 2.0]]
 
** When installing CDT 4.0.x, be sure to get the optional Testing feature, which has the DOM AST view shown in the talk.
 
** When installing CDT 4.0.x, be sure to get the optional Testing feature, which has the DOM AST view shown in the talk.
 
* The code examples in the talk are in the dev.eclipse.org repository; information is on slide 9
 
* The code examples in the talk are in the dev.eclipse.org repository; information is on slide 9

Revision as of 13:11, 16 December 2008

Other Articles and Documents about PTP

Static Analysis in PTP with CDT

  • The code in this EclipseCon 2008 talk mostly uses Eclipse 3.3 (Europa), CDT 4.0, and PTP 2.0. For information on a development environment for this, see Environment set up for PTP 2.0
    • When installing CDT 4.0.x, be sure to get the optional Testing feature, which has the DOM AST view shown in the talk.
  • The code examples in the talk are in the dev.eclipse.org repository; information is on slide 9
    • CVS repository info
      • Host: dev.eclipse.org
      • Repository path: /cvsroot/tools
      • User: anonymous (or your committer id)
      • Connection type: pserver (or extssh if you have a committer id)
    • Configure branches as shown in the development environment setup information above, and under ptp_2_0 branch, check out the org.eclipse.ptp.pldt.* projects under org.eclipse.ptp/tools
      • You don't need the rest of PTP to use PLDT
    • Open up HEAD to find the sample code for the talk
      • Open up org.eclipse.ptp project, open tools/samples
      • Check out org.eclipse.ptp.pldt.sampleCDTstaticAnalysis project
  • To run the examples in the code:
    • Load up the code above
    • launch an Eclipse Application with the code in the workspace
    • create a CDT project with some code
    • use the three buttons added to the toolbar to see output
    • Note that output is in the Console view of the development workbench where you checked out the code (not in the runtime workbench when the C projects are)

Other sources of information

See also http://www.eclipse.org/ptp/doc.php

Back to the top