How to set the deployment directory ?

Hi all,

I am using Sun One Studio 3.0 with iWS6.0.

For every new application that I write, compile and execute,

it is getting deployed to the same

directory.

Because Sun One Studio is always using the same directory,

for every application I have

to manually delete the deployment directory.

Is there any way to set different deployment

directory for every new application that I write ?

If yes, how to do this ?

Thanks

Swap

[510 byte] By [706462] at [2007-11-25 8:23:56]
# 1

I dont have the product installed, so I cannot try it right now. But I think the context root is part of the directory name in which the application is deployed. By default the context root is empty. If you change that, your application would be deployed in a different directory. To change context root, right click on WEB-INF node, and select "Properties" from the menu.

Alternatively, you could try changing the directory name by right-clicking on the web.xml node under WEB-INF. You should see an iWS tab on the property sheet, where you could enter a directory name.

Sirajg at 2007-7-1 14:46:22 > top of Java-index,Development Tools,Java Tools...
# 2
Many Thanks for the reply.My problem is solvedThanks once againSwap
706462 at 2007-7-1 14:46:22 > top of Java-index,Development Tools,Java Tools...