building the webapplication

Hi ,

I am building my webapplication using ANT. I have two targets at the end to undeploy existing deployed version of application and then deploy new version of the applications. I have a problem with undeploy.If the application does not exist , then the undeploy target is throwing an exception. How can make a check whether application is existing before initiationg the undeploy target?

Thanks

Vivek

[429 byte] By [vivek.shankara] at [2007-11-26 17:53:03]
# 1
what exception are u getting? what targets are u using to deploy and undeploy ur applications?
mshanua at 2007-7-9 5:06:01 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...