Community
Participate
Working Groups
We need to be able to headlessly build EDC, potentially as part of the top-level CDT build. I'm taking a look at Tycho-izing EDC, and seeing if I can link the top-level CDT pom to the EDC pom. Any tips appreciated!
Created attachment 200451 [details] patch1 First cut adding Tycho to the EDC plugin. I'm not sure what the best way of building EDC against SNAPSHOT TCF/CDT is. Assuming that EDC is checked out next to CDT/TCF, I added an explicit path to the CDT/TCF p2 repos: <cdt-site>file://${basedir}/../../org.eclipse.cdt/releng/org.eclipse.cdt.repo/target/repository/</cdt-site> <tcf-site>file://${basedir}/../../org.eclipse.tm.tcf/features/org.eclipse.tm.tcf.repo/target/repository/</tcf-site> Perhaps there's a better way of doing this...?
I've pushed support for building EDC with Tycho. There's still the issue of the best way to build against a HEAD CDT+TCF vs building against a p2 release... My recipe looks like: git clone git://git.eclipse.org/gitroot/cdt/org.eclipse.cdt.git git clone git://git.eclipse.org/gitroot/cdt/org.eclipse.cdt.edc.git svn co svn://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk/ org.eclipse.tm.tcf #Build CDT pushd org.eclipse.cdt mvn -Dmaven.test.skip clean install popd #Build TCF pushd org.eclipse.tm.tcf mvn -Dmaven.test.skip clean install popd #Build EDC pushd org.eclipse.cdt.edc mvn -Dmaven.test.skip clean install popd
*** cdt git genie on behalf of 353201 *** Bug 353201 Add org.eclipse.cdt.debug.edc.repo plugin to contain the generated p2 update site commit 0132ff9e611a813ba06f12ae3a95f6e3eee34ea9 Bug 353201 - Tycho releng support for EDC Generate pom.xmls using: mvn org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=org.eclipse.cdt.edc commit 13b735cc29a317f912216607143e712007175297 Add */bin + */target directories to the .gitignore [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=ff482551b0ebd59cb91d0fbd9cc42887c4616441 [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=0132ff9e611a813ba06f12ae3a95f6e3eee34ea9 [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=13b735cc29a317f912216607143e712007175297
Doug's got this going: https://hudson.eclipse.org/hudson/job/cdt-edc-nightly/ https://hudson.eclipse.org/hudson/job/cdt-master-nightly/