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 hav开发者_JAVA百科e created a project, when I clicked on the plugin menu, it should be able to deploy to my tomcat/webapps folder.
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.
If mounting the remote filesystem is not possible you will probably have to rely to ant or maven tasks to publish your war file.
精彩评论