Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[virgo-dev] Quick update on PDE support for Virgo Tools

Hi all,

I have been slowly working on PDE support for Virgo Tools.
Here is a quick update of what I did so far. The code is still on my workstation in a git-flow branch named after https://bugs.eclipse.org/bugs/show_bug.cgi?id=329198  I'll push it to the server in the near future after a bit more testing.
  • I created a new bundle and integrated my PDE2Virgo builder and nature code
  • I added an extra page with a checkbox and a table to the wizard used for creating a Virgo Runtime. The checkbox  allows the user to select whether he/she wants a PDE Target Platform to be setup for that Virgo Runtime.
    • If checked, the system reads the repository properties file (reusing PropertiesRepositoryConfigurationReader) and displays the repository directories in the table. (This implies a new dependency toward a Virgo runtime bundle, I hope this is not a problem)
    • When finish is pressed, a PDE target platform is created and enabled. It is named after the Virgo Runtime name.
    • If the user added/remove directories in the directories table within the wizard page, the changes will optionally be applied to the repository properties file as well (with some limitations).
  • I am working on new wizard for creating PDE projects. The wizard is 80% done. It is based on the PDE plug-in wizard and creates a PDE project which is also a Virgo OSGi bundle project with the proper WST facet and which uses the new builder and nature. I now have to add proper support for Web Bundles.
  • I created a decorator to decorate the PDE project icon when it has the Virgo OSGi bundle nature
  • I create a decorator to decorate a Virgo server icon in the Server View when it is associated to a Virgo Runtime for which an equally named PDE target platform exists

Next steps are:

  • Complete the PDE project wizard
  • Add means to edit/refresh the PDE target platform from the Virgo Tools. Most likely via a new dedicated section in the Virgo Editor.
  • Create project wizard shortcuts and contribute wizards to the right context menus
  • Create a new POM for the new bundle and add it to the parent for build automation.
  • Code clean up, externalize strings using NLS etc.

GianMaria.


Back to the top