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 "PDT/Contributing"

< PDT
(Add formatter to PSF)
(Replaced content with "Category:PDT == Working with PDT source code in Eclipse == Content moved to github: https://github.com/eclipse-pdt/pdt/wiki/Contributing")
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
[[Category:PDT]]
 
[[Category:PDT]]
== Quick guide ==
 
Following is a two-step guide to get and build PDT source code:
 
 
1. Get PDT source code:
 
 
  git clone http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git
 
  # or if you're PDT committer: git clone ssh://committerid@git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git
 
 
2. Build PDT using Maven:
 
 
  cd org.eclipse.pdt/org.eclipse.pdt.releng
 
  mvn clean install
 
  
 
== Working with PDT source code in Eclipse ==
 
== Working with PDT source code in Eclipse ==
  
# To comfortably edit PDT source code you will need Eclipse JDT and PDE. Ideally Eclipse Classic package from Eclipse downloads page is what you need.
+
Content moved to github: https://github.com/eclipse-pdt/pdt/wiki/Contributing
# Check out PDT plugins to Eclipse workspace. Select the XML text below and save it to file projectSet.psf
+
# In Eclipse, choose File->Import, select Team->Team Project Set and choose projectSet.psf file created in step 2. After finishing the import wizard, you should see all PDT source code in your workspace. Source code might not be compiling yet
+
# Find file org.eclipse.php.core/Resources/parserTools/build.xml and launch it as Ant Build. This will generate PHP language parser classes.
+
# Install missing dependencies:
+
## Dynamic Languages Toolkit - Core Frameworks
+
## Dynamic Languages Toolkit - Core H2 Index Frameworks (uncheck "Group items by category" to see this one)
+
## Eclipse Web Developer Tools
+
## Eclipse XML Editors and Tools
+
# In preferences (Window->Preferences->Plug-in Development->API Baselines), switch "Missing API baseline" to "Warning" or "Ignore".
+
# You can now run PDT in Eclipse self-hosting mode. Click on any of PDT projects and choose Run As->Eclipse Application
+
 
+
== PDT Team Project Set ==
+
You can quickly set up your Eclipse workspace using the following [http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-cvs-project-set.htm Team Project Set]. Save the following text into a file named "pdt.psf"; use "File > Import > Team Project Set" to import that file.
+
 
+
  <?xml version="1.0" encoding="UTF-8"?>
+
  <psf version="2.0">
+
  <provider id="org.eclipse.egit.core.GitProvider">
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.core"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.core.parser"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.debug.core"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.debug.daemon"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.debug.ui"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.help"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.mylyn.ui"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.server.core"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.server.ui"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.ui"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.formatter.core"/>
+
  <project reference="1.0,http://git.eclipse.org/gitroot/pdt/org.eclipse.pdt.git,master,plugins/org.eclipse.php.formatter.ui"/>
+
  </provider>
+
  </psf>
+

Latest revision as of 07:09, 2 June 2023


Working with PDT source code in Eclipse

Content moved to github: https://github.com/eclipse-pdt/pdt/wiki/Contributing

Back to the top