Monday, June 23, 2008

Eclipse - Ant View

Most of the time we prefer writing custom build scripts in ant for eclipse projects. But when we want to build/deploy project we will open that file and view the outline view to select the action we want to select and then right click on that action and build.. This is a tedious process if you need to build and deploy over and over again. But recently I have notices that there is another view that can have ant view so that we can double click on an action(deploy/build,etc) and make it work without having to go to the ant build file.
To enable that in eclipse all we have to do is go to Windows-> Show View -> Ant and click on it. Then you will see ant icon is left side dock area. Click on that to open ant window. Then right click on ant window body and select add build file. Select the build file from the project folder and who la! You have a ant view where you can double click and action to invoke it!
This looks confusing if you don't know what I'm talking about.. But if you are working on a spring project in eclipse I'm pretty sure that you know what I'm talking about! ;)

No comments: