Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 292157 - -fetchTag is ignored with SVN maps
Summary: -fetchTag is ignored with SVN maps
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Dash Athena (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 264713
  Show dependency tree
 
Reported: 2009-10-13 11:04 EDT by Nicolas Bros CLA
Modified: 2012-01-30 11:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2009-10-13 11:04:48 EDT
For the MoDisco nightly build, the nightly Hudson job is passed "-forceContextQualifier -fetchTag HEAD" in EXTRAFLAGS, which is supposed to make PDE Build ignore the tag from the map and always get the latest version. I also tried "-fetchTag trunk", switching the protocol, and using the syntax described on this page: http://wiki.eclipse.org/Subversive_PDE_Fetch (which doesn't work).


My map has entries like this:

plugin@org.eclipse.gmt.modisco.common.core=SVN,tags/R0_7_1,svn://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.modisco/plugins,,org.eclipse.gmt.modisco.common.core

Also, the http:// protocol stopped working at some point, so I switched to the svn:// protocol, which works.

I documented the build process I use here:
http://wiki.eclipse.org/MoDisco/Releng/How_to_Use
http://wiki.eclipse.org/MoDisco/Releng/How_it_Works
Comment 1 Nicolas Bros CLA 2009-10-13 15:31:04 EDT
I found a workaround, which is to check out the sources at the beginning of the Hudson Job, and then use these sources with "-localSourceCheckoutDir". Still, it would be nice if "-fetchTag" worked.
Comment 2 Nick Boldt CLA 2010-11-09 23:41:54 EST
I'm open to having this fixed, if you'd like to contribute. Throw me a patch and I can nominate you for committership.

Or... use Tycho, which can be pointed at whatever local sources you have already fetched onto disk (using Hudson or done by hand).

-----

If you want a simple build of Eclipse products, features, plugins, or update
sites / p2 repos, using CVS, SVN, Git, or any other Hudson-supported
VCS/DVCS, which works with JUnit3/4, EMMA, SWTBot, SONAR...

I recommend using Tycho, which supports it natively.

https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho
http://anonsvn.jboss.org/repos/jbosstools/trunk/build/parent/pom.xml
http://www.delicious.com/nickboldt/tycho
https://docs.sonatype.org/display/TYCHO/Tycho+reference+card

Closing WONTFIX.