X

Geertjan's Blog

  • April 8, 2005

Customized Contextual Menu for Deploying from NetBeans IDE 4.1

Geertjan Wielenga
Product Manager
After creating a property-determined Ant target that deploys a NetBeans IDE project to Tomcat 4 or JBoss (see yesterday's blog entry), I wanted to be able to access the target from a project's contextual menu. This is only possible in a free-form project. So I created a free-form project from the build-impl.xml file that the IDE creates for you when you create a standard project. This way, I've got the best of both worlds -- all the standard targets generated by the IDE together with the possibility of extending the project even further, giving it more freedom, thanks to the facilities offered by the free-form project. So here is my contextual menu:

I guess a better name for the contextual menu would be something like "Deploy to External Server", but what if I were to forget which servers are made available in the properties file? At least this way I know what's there.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.