Skip to main content
Jump to: navigation, search

Difference between revisions of "PTP/articles"

< PTP
m (PTP/docs moved to PTP/articles)
(Other Articles and Documents about PTP)
Line 1: Line 1:
== Other Articles and Documents about PTP ==
+
== Articles and Documents about PTP ==
  
 
[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]

Revision as of 12:00, 17 April 2009

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