Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316212 - How do we build CDT from a git repository
Summary: How do we build CDT from a git repository
Status: RESOLVED DUPLICATE of bug 289838
Alias: None
Product: CDT
Classification: Tools
Component: cdt-releng (show other bugs)
Version: 7.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-releng-inbox@eclipse.org CLA
QA Contact: Vivian Kong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 316208
  Show dependency tree
 
Reported: 2010-06-08 17:05 EDT by James Blackburn CLA
Modified: 2010-10-13 05:00 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2010-06-08 17:05:23 EDT
CDT uses PDE basebuilder based builds which are currently built from CVS where each CDT plugin is checked out at plugin granularity from CVS.

I've built CDT releases from a local git clones (where each git repo is one CDT plugin) successfully using an simple but stupid git IFetchFactory (bug 289838). How would we do this if we had all of CDT in one git repository?


Doug says:
"thanks to tips from Andrew Niefer, I have figured out how to do PDE build from already checked out source. At the very least, I'll do that for the Hudson builds. But when we do decide to go to git, we should have no problems setting up the builds"

Could you document here / on the wiki how to do this?
Comment 1 Doug Schaefer CLA 2010-06-08 18:57:11 EDT
It's pretty easy but requires changes to the CDT build scripts.

PDE gives you a property to skip the fetch part of the build. You can then feed it a search path to find the plug-ins, etc, instead.

So the idea is to check out the CDT from git and create the tag first then invoke the build.xml.
Comment 2 James Blackburn CLA 2010-08-31 05:10:24 EDT
Just found Bug 128846 has some comment on using custom search paths for PDE build.
Comment 3 Doug Schaefer CLA 2010-08-31 11:26:26 EDT
Yes, that's the one I was talking about.
Comment 4 James Blackburn CLA 2010-10-13 05:00:13 EDT
The work for this has been done in bug 289838.  A git fetch factory which supports extracting plugins from a repository has been created.

*** This bug has been marked as a duplicate of bug 289838 ***