Search code examples
eclipsepluginsprojectdeploying

Developing an eclipse plugin to deploy on my server


How can we create an eclipse popmenu plugin (which is similar to Google App engine SDK). i.e. If I have created a project, when I clicked on the plugin menu, it should be able to deploy to my tomcat/webapps folder.


Solution

  • Why do you want to reinvent the wheel? The Eclipse Web Tools Platform already provides that functionality.

    For deploying to a remote server you may choose the Export / Web / WAR file option from your projects context menu as shown below and export it directly to the remotly mounted tomcat/webapps folder as shown below.

    Export Web Archive

    If mounting the remote filesystem is not possible you will probably have to rely to ant or maven tasks to publish your war file.