|
|
Line 1: |
Line 1: |
− | '''Creating Eclipse plugins + Feature + Update Site - Getting Started'''
| |
| | | |
− | That seems a easy task right?
| |
− |
| |
− | Correct, it is a very easy task,
| |
− |
| |
− | just want to let a walkthrough for those who had problems to get started like me.
| |
− |
| |
− | First create a new plugin project
| |
− |
| |
− | New -> Plug-in Development -> Plug-in Project
| |
− |
| |
− | You can select a template for creating your project or even just create a blank one in case you know how things work.
| |
− |
| |
− | Now you have to create your feature project.
| |
− |
| |
− | New -> Plug-in Development -> Feature Project
| |
− |
| |
− | Here is the point where you link your Plugin project with your Feature Project.
| |
− |
| |
− | Open the feature.xml file on your Feature project.
| |
− |
| |
− | On plugins tab click on add and select your project then save the file.
| |
− |
| |
− | The last peace is the Update site project. To create it go to
| |
− |
| |
− | New -> Plug-in Development -> Update Site Project
| |
− |
| |
− | Now we just have to link the Feature project with the Update site, and you're good to go.
| |
− |
| |
− | To do that, open the site.xml file on your Site project.
| |
− |
| |
− | Add Feature -> Select your project.
| |
− |
| |
− | In case you want to add a category for your feature, just click on New Category,
| |
− |
| |
− | name it as you want then drag the feature site over the category.
| |
− |
| |
− | The category is the name displayed when a eclipse client is installing your plugin by update-site.
| |
− |
| |
− | Save it, then click on Build.
| |
− |
| |
− | You know have your plugin deployed on your update-site.
| |
− |
| |
− | You can add it to a base web server and isntall it using Remote Site or Local site (for local directory).
| |
− |
| |
− | I hope this helps someone.
| |
− |
| |
− | Best regards,
| |
− |
| |
− | João Kreuzberg
| |