Hi,
We’ve been working on Eclipse for some time and have just started working with the MyEclipse IDE.
Before we started using MyEclipse, we use a web project template which includes a custom Ant script for deploying to a remote Tomcat 4.1 instance. Unlike conventional deployments to Tomcat, the script actually deploys to Tomcat using context XML documents as follows:-
a) Copy the exploded application to a deployment location on the remote server (this location is NOT the webapp folder of Tomcat).
b) Generate a context xml file which points to the deployment location in a), and copy this file to Tomcat’s webapp folder.
c) Invoke Tomcat Manager to deploy the application via the context file.
We needed to do this, becuase the remote Tomcat instance is shared by other developers, and we cannot afford to re-start it as I like, since that will disrupt the work of the other developers. The only way around this is the above, which allows each developer to deploy/redeploy his application without re-starting Tomcat.
We don’t (can’t actually, due to the contraints on the shared Tomcat instance) use any remote debugging facilities, so the above works fine for us.
We also have a similar script for Weblogic.
The question is: is there some more convenient way I can port this custom deployment mechanism into MyEclispe, other than to still port the Ant scripts over?
Does MyEclipse allow setting up a custom deployment configuration using a external Ant script?
Thanks for any suggestions!