Community
Participate
Working Groups
Created attachment 222339 [details] eclipse.jdt.core.patch For Tycho to generate Eclipse-SourceReference headers a new property needs to be added to the pom ${tycho.scmUrl} for each repo.
Jay, please follow up.
Where does this fix go? The patch doesn't apply well on master.
(In reply to comment #2) > Where does this fix go? The patch doesn't apply well on master. It's reported against 4.2.1, maybe that explains? I assume this is part of LTS, right?
(In reply to comment #3) > (In reply to comment #2) > > Where does this fix go? The patch doesn't apply well on master. > > It's reported against 4.2.1, maybe that explains? > I assume this is part of LTS, right? This should go into master and R3_8_maintenance branches. The patch just adds a property to the pom <properties> <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/jdt/eclipse.jdt.core.git</tycho.scmUrl> </properties> Looks like the reason it didn't apply cleanly is because master is missing a previous patch. Master currently has this is the parent section: <parent> <groupId>org.eclipse</groupId> <artifactId>eclipse-parent</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> However there was a patch previously that should have added an extra line as follows: <parent> <groupId>org.eclipse</groupId> <artifactId>eclipse-parent</artifactId> <version>1.0.0-SNAPSHOT</version> <relativePath>../eclipse-parent</relativePath> </parent> So in R3_8_maintenance branch the line relativePath is there but in master it's missing. This relativePath line should be added to master as well.
I should have mentioned this should be applied to 3.8.2.
(In reply to comment #4) > However there was a patch previously that should have added an extra line as > follows: My bad. I should have applied the fix for bug 383072 on master too. I have cherry-picked that commit now and applied this fix on top. Both commits have now been applied on master and R3_8_maintenance. Strangely, I had trouble applying the patch even then. May be because I did something wrong as I used command line - the file is outside the jdt/core projects and hence not part of my regular workspace.
Verified for 4.3 M3 via code inspection that - tycho.scmUrl is correctly set in master. Filed bug 393166 for observations made along the road...