| Summary: | support SVN | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kim Moir <kim.moir> |
| Component: | Dash Athena | Assignee: | Common Build Inbox <dash.commonbuilder-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | milesparker, nboldt |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 297788 | ||
|
Description
Kim Moir
See also CQ 2779: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=2779 (svn-pde-plugin from sourceforge, MPL 1.1 license) CQ withdrawn due to pedigree issues. But we can still put svn-pde-plugin on the server and USE it, but not DISTRIBUTE it or put it in CVS. We can't put it in CVS, but we CAN put it on build.eclipse.org for build-time use. I've tweaked the setup/localhost.setup.sh script so that it will download the zip from a sourceforge mirror, unpack it into releng.basebuilder, and clean up after itself. Sample SVN map file syntax: feature@org.jboss.tools.seam.feature=SVN,anonymous,,%svnTag%,%svnURL%,,seam/features/org.jboss.tools.seam.feature plugin@org.jboss.tools.seam.core=SVN,anonymous,,%svnTag%,%svnURL%,,seam/plugins/org.jboss.tools.seam.core sample svnURL: http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/ Better (working!) map file example: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.dash/athena/org.eclipse.dash.commonbuilder/org.eclipse.linuxtools.releng/maps/linuxtools.map?revision=1.12&root=Technology_Project&view=markup See also: http://sourceforge.net/docman/display_doc.php?docid=37478&group_id=181297 -- Next step is to support having the .releng project in SVN too -- start.sh needs to be able to get the .releng project from a SVN repo, not just CVS. Done - can now source .releng project from somewhere in CVS or SVN. As long as the svn URL contains "svn" in it, start.sh will interpret it as an SVN path instead of CVS. Could get fancier, but for eclipse.org projects this should be sufficient. Sample execution to compare syntax: # get releng from CVS cd /opt/public/cbi/build/org.eclipse.dash.common.releng_HEAD/tools/scripts/; ./start.sh \ -projectid technology.linuxtools -version 0.7.0 \ -projRelengRoot ':pserver:anonymous@dev.eclipse.org:/cvsroot/technology' \ -projRelengPath 'org.eclipse.dash/athena/org.eclipse.dash.commonbuilder/org.eclipse.linuxtools.releng' \ -basebuilderBranch R35_M2 -javaHome /usr/lib/jvm/java \ -URL http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk.tar.gz \ -URL http://download.eclipse.org/tools/cdt/releases/ganymede/dist/cdt-master-5.0.0.zip \ -antTarget run -buildType N 2>&1 | tee /tmp/buildlog_linuxtools_`date +%H%M%S`.txt # get releng from SVN cd /opt/public/cbi/build/org.eclipse.dash.common.releng_HEAD/tools/scripts/; ./start.sh \ -projectid technology.linuxtools -version 0.7.0 \ -projRelengRoot 'http://dev.eclipse.org/svnroot/technology/org.eclipse.linuxtools/releng/trunk' \ -projRelengPath 'org.eclipse.linuxtools.releng' \ -basebuilderBranch R35_M2 -javaHome /usr/lib/jvm/java \ -URL http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk.tar.gz \ -URL http://download.eclipse.org/tools/cdt/releases/ganymede/dist/cdt-master-5.0.0.zip \ -antTarget run -buildType N 2>&1 | tee /tmp/buildlog_linuxtools_`date +%H%M%S`.txt |