Different handling of Features in Profile and InstallableUnit locations #1210
Unanswered
vaclavHala
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Profile locations are only rudimentary supported at Tycho, can you provide an integration-test to demonstrate the issue so we can improve the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, we have two different target files - one for release testing using a materialized product and other for development using
InstallableUnit
http repository. Content of the two targets should be identical, the difference is only where the bundles come from.In our test bundle we have an extraRequirement like this
With the
InstallableUnit
target (where it is listed ascom.my.feature.feature.group
) this works fine. However with theProfile
target where it is supposed to come from the installed product it fails to resolve, saying thatI tried to debug the problem and look into
TargetDefinitionResolver
to see if it is looking for the feature in the correct place.Indeed the feature is found but is presented as
com.my.feature.feature.jar
(classifierorg.eclipse.update.feature
, idcom.my.feature
inArtifactKey
) which does not satisfy the requirement.In eclipse when I look at the target file it resolves fine and my feature is listed among features, but there may be some abstraction there which treats both
.feature.jar
and.feature.group
the same which tycho does not do.So the question is - is the different handling of features by different locations intentional? If so, is there some way I could write the
extraRequirement
such that it is satisfied both when usingInstallableUnit
andProfile
locations?Beta Was this translation helpful? Give feedback.
All reactions