Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Fix bundles with dir-shape have needed instruction in content.xml (#128) #129

Merged
merged 5 commits into from
Aug 20, 2018

Conversation

doggy-dev
Copy link

When a bundles has the Eclipse-BundleShape: dir manifest entry the
installable unit in content.xml the touchpointData must have
true
Otherwise when tycho builds a product the bundle is not beeing
extracted.

@ctron
Copy link
Contributor

ctron commented Aug 9, 2018

Thanks for the PR. This looks good to me.

All that is requires is that you sign the Eclipse Contributor Agreement (ECA) and add the Signed-off-by: footer entry in the git commit, after you signed the agreement.

Let me know if you need any help with that.

Copy link
Contributor

@ctron ctron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just few minor things! Thanks.

final FeatureInformation fi = new FeatureInformation ();

fi.setId ( "f1" );
fi.setId ( feature_id );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use underscores. -> featureId.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for the other locations.


final List<InstallableUnit> ius = InstallableUnit.fromFeature ( fi );
@Test
public void fragmentSecificPropertiesAddedToIU () throws Exception
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "specific"

@doggy-dev doggy-dev force-pushed the bugix/extractable_bundles branch from 5e03c10 to 76217a3 Compare August 13, 2018 15:39
@doggy-dev
Copy link
Author

I think I'm done. I also rebased the the commits on master.

@ctron
Copy link
Contributor

ctron commented Aug 14, 2018

Could you please rebase the branch. This should fix the issues with travis.

@doggy-dev doggy-dev force-pushed the bugix/extractable_bundles branch from 76217a3 to 536a2cc Compare August 15, 2018 06:09
@doggy-dev
Copy link
Author

Please don't merge yet. I think there is a bug in my code.

@doggy-dev doggy-dev force-pushed the bugix/extractable_bundles branch from 536a2cc to e235dfb Compare August 18, 2018 10:04
Veselin Markov added 5 commits August 18, 2018 12:06
…lipse-archived#128)

When a bundles has the Eclipse-BundleShape: dir manifest entry the
installable unit in content.xml the touchpointData must have
<instruction key='zipped'>true</instruction>
Otherwise when tycho builds a product the bundle is not beeing
extracted.

Signed-off-by: Veselin Markov <veselin_m84@yahoo.com>
Signed-off-by: Veselin Markov <veselin_m84@yahoo.com>
Signed-off-by: Veselin Markov <veselin_m84@yahoo.com>
the genereted provides-element now has the same type as repositores
built by p2. See org.eclipse.equinox.p2.publisher.eclipse.BundlesAction
vor details.

Signed-off-by: Veselin Markov <veselin_m84@yahoo.com>
Signed-off-by: Veselin Markov <veselin_m84@yahoo.com>
@doggy-dev doggy-dev force-pushed the bugix/extractable_bundles branch from e235dfb to 030b755 Compare August 18, 2018 10:06
@doggy-dev
Copy link
Author

Should be fixed now. Sorry about that.

@doggy-dev doggy-dev closed this Aug 18, 2018
@doggy-dev doggy-dev reopened this Aug 18, 2018
@ctron ctron merged commit f184cf9 into eclipse-archived:master Aug 20, 2018
@doggy-dev doggy-dev deleted the bugix/extractable_bundles branch August 24, 2018 08:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants