Cel
Cel

Reputation: 6649

War for deployment in Tomcat Eclipse project

I'm trying to move some stuff to Tomcat, which is running on a Windows server as a service. So I have created a Tomcat project in Eclipse, but I don't see anywhere to make Eclipse produce a War file for me, which I could then deploy?

Upvotes: 0

Views: 470

Answers (2)

Serkan Arıkuşu
Serkan Arıkuşu

Reputation: 5609

Right click on your project on eclipse, from the context menu choose Export and choose War file in the upcoming window.

Upvotes: 1

ioreskovic
ioreskovic

Reputation: 5699

Position yoursef to {WORKSPACE}/{YOUR PROJECT}/web/{YOUR APP CONTEXT}/.
Type this: jar -cvf {YOUR APP CONTEXT}.war *

Upvotes: 1

Related Questions