Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CDT/git"

< CDT
Line 7: Line 7:
 
James is working on the conversion script. Once we're ready, we'll take the repo and bring it to Eclipse and make it our central repo that will feed the official builds. [https://bugs.eclipse.org/bugs/show_bug.cgi?id=316208 Conversion script is discussed here.]
 
James is working on the conversion script. Once we're ready, we'll take the repo and bring it to Eclipse and make it our central repo that will feed the official builds. [https://bugs.eclipse.org/bugs/show_bug.cgi?id=316208 Conversion script is discussed here.]
  
== Setting up your workspace with the Test Repo ==
+
== Setting up your workspace with the Test 3 Repo ==
  
Follow these instructions to get working with the CDT test repo out on eclipse.org.
+
CDT is now broken into two git repos for our current test. Follow these instructions to get working with the CDT test repo out on eclipse.org.
 +
 
 +
Step one is for the main CDT repo.
  
 
* Eclipse Setup (tested with Indigo M7)
 
* Eclipse Setup (tested with Indigo M7)
 
** Eclipse SDK
 
** Eclipse SDK
** Install Egit and Subversive for source control
+
** Install Egit 1.0
 
** Install Remote System Explorer Run-time for build dependencies
 
** Install Remote System Explorer Run-time for build dependencies
*** for TCF and CDT remote launch
+
*** for CDT remote launch
 
* Check out build dependencies
 
* Check out build dependencies
 
** from /cvsroot/tools, org.eclipse.orbit, checkout the 1.1 version of net.sourceforge.lpg.lpgjavaruntime
 
** from /cvsroot/tools, org.eclipse.orbit, checkout the 1.1 version of net.sourceforge.lpg.lpgjavaruntime
 
*** required by lrparser based plug-ins
 
*** required by lrparser based plug-ins
 
** from /cvsroot/eclipse, checkout the following required by the test plug-ins
 
** from /cvsroot/eclipse, checkout the following required by the test plug-ins
*** org.eclipse.ant.optional.junit
 
*** org.eclipse.test
 
 
*** org.eclipse.test.performance
 
*** org.eclipse.test.performance
** from /svnroot/dsdp/org.eclipse.tm.tcf, checkout all plug-ins and features
 
*** required by EDC
 
* Preferences setup
 
** Make sure you setup up an API baseline. Current baseline should be the Helios build.
 
 
* Clone the repo
 
* Clone the repo
 
** From the Git perspective, clone the repo and place it some where useful
 
** From the Git perspective, clone the repo and place it some where useful
 
*** I usually put it inside my workspace
 
*** I usually put it inside my workspace
*** URL - git://git.eclipse.org/gitroot/cdt/test/org.eclipse.cdt.git
+
*** URL - git://git.eclipse.org/gitroot/cdt/test3/org.eclipse.cdt.git
*** This should take about 5-10 minutes (maybe more)
+
*** This should take about 3-5 minutes
 
** From the repo, select Import Projects...
 
** From the repo, select Import Projects...
 
*** Select all the projects
 
*** Select all the projects
Line 37: Line 33:
 
** Let the build run
 
** Let the build run
 
*** I find that I sometimes need to do a rebuild to ensure the API checkers run correctly.
 
*** I find that I sometimes need to do a rebuild to ensure the API checkers run correctly.
 +
 +
More for EDC soon.
  
 
And that's it. One way to test you have everything is to try and Export the master feature. That'll give you everything our official builds do.
 
And that's it. One way to test you have everything is to try and Export the master feature. That'll give you everything our official builds do.

Revision as of 10:11, 17 June 2011

To make it easier for adoptors and contributors to work with the CDT source, we are moving to git right after the final build for Indigo/CDT 8.0 in June 2011.

This document will ultimately be the guide for using git and egit with CDT. It will be a work in progress until then.

James Blackburn has created a test repository on github and it has been mirrored back to our space on git.eclipse.org.

James is working on the conversion script. Once we're ready, we'll take the repo and bring it to Eclipse and make it our central repo that will feed the official builds. Conversion script is discussed here.

Setting up your workspace with the Test 3 Repo

CDT is now broken into two git repos for our current test. Follow these instructions to get working with the CDT test repo out on eclipse.org.

Step one is for the main CDT repo.

  • Eclipse Setup (tested with Indigo M7)
    • Eclipse SDK
    • Install Egit 1.0
    • Install Remote System Explorer Run-time for build dependencies
      • for CDT remote launch
  • Check out build dependencies
    • from /cvsroot/tools, org.eclipse.orbit, checkout the 1.1 version of net.sourceforge.lpg.lpgjavaruntime
      • required by lrparser based plug-ins
    • from /cvsroot/eclipse, checkout the following required by the test plug-ins
      • org.eclipse.test.performance
  • Clone the repo
    • From the Git perspective, clone the repo and place it some where useful
    • From the repo, select Import Projects...
      • Select all the projects
      • You can select individual ones if you need
    • Let the build run
      • I find that I sometimes need to do a rebuild to ensure the API checkers run correctly.

More for EDC soon.

And that's it. One way to test you have everything is to try and Export the master feature. That'll give you everything our official builds do.

Back to the top