|Re: WAR file not exploded at org.eclipse.wst.server.core [message #630666 is a reply to message #630505]
||Mon, 04 October 2010 13:44
| Larry Isaacs
Registered: July 2009
On 10/3/2010 9:39 AM, firstname.lastname@example.org wrote:|
> Thanks for the answer,
> But the first solution will not work.
> I want the war file to be in my project directory under source control,
> where I can replace it from time to time.
> I want the war file to be exploded in org.eclipse.wst.server.core folder
> (where all server files exists, when I run tomcat from eclipse).
> I can extract the war manually and put it in org.eclipse.wst.server.core
> folder, and it will work, but I understand that when running tomcat from
> eclipse it should be automaticly.
WTP doesn't support the use case of treating a war file as if it were a
project. If you create a dynamic web project from the war, WTP can
deploy it for you. If not a dynamic web project, then you will have to
handle the deployment yourself. If auto-deployment is still enabled,
you could simply drop the war in the
"org.eclipse.wst.server.core/tmp?/webapps" folder and let Tomcat do its
Powered by FUDForum
. Page generated in 0.01681 seconds