Saturday, July 16, 2011

How to Create A Software Site from Plug-in Bundles for Eclipse Tycho Maven

As of Eclipse Tycho Maven plugin 0.12.0, it can only use "InstallationUnit" type (aka Software Site sources) from a target platform definition file. So you cannot use Features, Installation, or Directory in your target definition file.

If all the plug-ins your Eclipse Platform application requires are already in a Software Site/Update Site, you're lucky. But if not, don't despair. Gather all the plug-ins in a directory and...
(note: you may need to OSGify some files beforehand using Bnd or Eclipse PDE)

The lighting way:
If it already contains feature(s) that list the available plug-ins, just create a .target definition file and in Eclipse right click the .target and export it. Done!
If not, continue below...

The quick way:

  1. Create a Feature project, initial plug-in list is empty.
  2. Create a .target platform definition file in PDE, inside the Feature Project. Add the bundles. Activate it.
  3. Open the feature.xml, Plug-ins tab. Select all plug-ins (use "*.*" filter)
  4. Right click the Feature project, Export... as a deployable feature :-) There, you get your Software Site neatly prepared and ready for some serious Tycho action! :D

The hard way:
https://docs.sonatype.org/display/TYCHO/How+to+make+existing+OSGi+bundles+consumable+by+Tycho
;-)

To learn more about Eclipse platform programming, I highly recommend Eclipse Rich Client Platform (2nd Edition).

13 comments:

  1. CoPilot Live can help make a planned getaway even more enjoyable. With millions of Points of Interest including restaurants, parks to grill, and a variety of attractions, CoPilot Live can help you find and navigate to your ideal destinatisbobeton this weekend. Whether it’s a short drive to the beach or a long vacation getaway, GPS navigation on a mobile device is proving to be a very popular traveling companion

    ReplyDelete
  2. Genuinely impressed! Things are quite, clear, wide open is really a outline with the difficulty. It contains the information.

    RS Gold
    Buy RS Gold
    Cheap RS Gold
    Buy Cheap RS Gold
    RSGold
    Runescape Gold for Sale

    ReplyDelete
  3. CoPilot Reside might Buy Cheap RS Goldhelp produce a designed retreat more enjoyable. Together with an incredible number of Points of Interest such as restaurants, theme parks to barbeque grill, along with aSell Rs Goldvarious attractions,

    ReplyDelete
  4. You can easily order your Guild Wars 2 Gold on our website. Guildwars2buygold guarantees quality and quickness. Just choose the desired amount of GW2 Gold, your server and send the order.After order paid, please contact our livechat to get your delivery.You will receive your Guild wars 2 Gold from here mostly within a few hours after order confirmed. Delivery of the cheap Guild Wars 2 Gold via trading face to face in game.

    ReplyDelete
  5. Guys, do you like to play MMORPG? Guild Wars 2 is one of the most wonderful MMORPGs.I'm a big fan of Guild Wars 2 and good at farming Guild Wars 2 gold. I know a good website to update game guidance about how to farm gold. The cheap Guild Wars 2 gold is also available in that store. So, if you lack gold, you can have a try of that store. Just click the colored word which will direct you.

    ReplyDelete
  6. 1) Always keep huge stocks on diablo 3 gold all servers

    2) Instant delivery on diablo 3 items

    3) Available 7/24 customer support for any and all questions

    4) Smooth and secure buy diablo 3 gold transactions, guarantee delivery 100% safe on our indiablo3gold.com site

    5) Please ensure all the information you filled is correct.

    Get more : http://www.indiablo3gold.com/

    ReplyDelete
  7. By that regular, Home windows windows 7 home premium activation key Vista is often a world-class villain, an object of scorn and mock, with forty two per cent of all reviewers window anytime upgrade key offering it the lowest achievable score.

    ReplyDelete
  8. In addition, they can also deliver cheap rs gold the passengers who have paid the transportation costs in different routes of the territory that controlled by Alliance runescape money in WOW.

    ReplyDelete
  9. gw2 gold even years, until they reach the required quality, the American company surprised everyone in the Penny Arcade Expo event March to announce Hearthstone: Heroes of Warcraft.www.gw2farm.com

    ReplyDelete
  10. With significant updates and visual enhancements, Project Standard 2010 Download delivers better experiences to simply be more productive and successfully complete all types of projects.
    Microsoft Visio Premium 2010 Download offers the most advanced and efficient diagramming tools for managing IT, process, quality, and compliance scenarios. With intelligent, rule-based templates such as SharePoint Workflow, BPMN, and Six Sigma, driving consistency and accuracy across your organization is easier than ever.
    Adobe Acrobat 9 Download is a platform for viewing, creating, manipulating and managing files in Adobe's PDF format.

    ReplyDelete
  11. The reply seems to be made of high quality materials, and its creators guarantee that it will be "great for the runescape 2007 gold sale holidays, with a design fard n, music taken directly from the game dubsted gun and a laser sight." On the other hand, this edition Collectors will also include a figure of 20 centimeters in memory of Johnny Gat, Saints considered the best ever. But the madness does not end here. And is that the guys at Volition have also included in the pack the mythical buy 07 rs gold "red button" able to unleash the final judgment in a matter of seconds.

    ReplyDelete
  12. If it already contains feature that list the available plug-ins, just create a .target definition file and in Eclipse right click the .target and export it
    WOW Gold Kaufen Billig
    Billig WOW Gold Kaufen

    ReplyDelete