Skip to main content
Jump to: navigation, search

Difference between revisions of "PTP/articles"

< PTP
(Other Articles and Documents about PTP)
(Other Articles and Documents about PTP)
Line 15: Line 15:
 
*** Open up org.eclipse.ptp project,  open tools/samples
 
*** Open up org.eclipse.ptp project,  open tools/samples
 
*** Check out org.eclipse.ptp.pldt.sampleCDTstaticAnalysis  project
 
*** 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)

Revision as of 16:42, 8 December 2008

Other Articles and Documents about PTP

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 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)

Copyright © Eclipse Foundation, Inc. All Rights Reserved.