| Summary: | Build fails when target platform contains a feature patch | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Tobias Oberlies <t-oberlies> | ||||
| Component: | Tycho | Assignee: | Tobias Oberlies <t-oberlies> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | igor | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Tobias Oberlies
FYI, there is a separate issue with building feature patches using tycho. I have local branch against 0.11.1, but need to port it for 0.13 before I can apply. (In reply to comment #1) > FYI, there is a separate issue with building feature patches using tycho. I have > local branch against 0.11.1, but need to port it for 0.13 before I can apply. AFAIK this is TYCHO-580. If you plan to fix this issue, please open a new bug here in Bugzilla so that we will be able to generate the release notes for 0.13.0 from Bugzilla. Created attachment 197086 [details]
ITest demonstrating the issue
This integration test demonstrates the problem. The build results in the following message:
java.lang.RuntimeException: Could not resolve plugin org.eclipse.core.runtime_3.4.0.v20080512; Path to dependency:
eclipse-feature:featurePatch.external.combine.feature:1.0.0.qualifier: org.eclipse.tycho.core.osgitools.DefaultReactorProject@24561250
eclipse-feature:org.eclipse.example.original_feature:1.0.0: C:\Users\D051585\.m2\repository\p2\org\eclipse\update\feature\org.eclipse.example.original_feature\1.0.0\org.eclipse.example.original_feature-1.0.0.jar
at org.eclipse.tycho.core.ArtifactDependencyVisitor.newRuntimeException(ArtifactDependencyVisitor.java:42)
at org.eclipse.tycho.core.ArtifactDependencyVisitor.missingPlugin(ArtifactDependencyVisitor.java:33)
at org.eclipse.tycho.core.osgitools.AbstractArtifactDependencyWalker.traversePlugin(AbstractArtifactDependencyWalker.java:207)
at org.eclipse.tycho.core.osgitools.AbstractArtifactDependencyWalker.traverseFeature(AbstractArtifactDependencyWalker.java:85)
at org.eclipse.tycho.core.osgitools.AbstractArtifactDependencyWalker.traverseFeature(AbstractArtifactDependencyWalker.java:170)
at org.eclipse.tycho.core.osgitools.AbstractArtifactDependencyWalker.traverseFeature(AbstractArtifactDependencyWalker.java:89)
at org.eclipse.tycho.core.osgitools.AbstractArtifactDependencyWalker.traverseFeature(AbstractArtifactDependencyWalker.java:170)
at org.eclipse.tycho.core.osgitools.EclipseRepositoryProject$1.walk(EclipseRepositoryProject.java:60)
at org.eclipse.tycho.core.osgitools.AbstractArtifactBasedProject.resolve(AbstractArtifactBasedProject.java:42)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:101)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:91)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:268)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
... 11 more
(In reply to comment #2) > (In reply to comment #1) > > FYI, there is a separate issue with building feature patches using tycho. I have > > local branch against 0.11.1, but need to port it for 0.13 before I can apply. > AFAIK this is TYCHO-580. If you plan to fix this issue, please open a new bug > here in Bugzilla so that we will be able to generate the release notes for > 0.13.0 from Bugzilla. Opened Bug 348326. Btw, I found git log more reliable/convenient way to generate release notes. This issue is resolved with 09d71aa [1]. This commit also includes the attached integration test. [1] https://github.com/sonatype/sonatype-tycho/commit/09d71aa2f895d94bb002b7e6c6bdf299a740c224 |