Reputation: 6649
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
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
Reputation: 5699
Position yoursef to {WORKSPACE}/{YOUR PROJECT}/web/{YOUR APP CONTEXT}/
.
Type this: jar -cvf {YOUR APP CONTEXT}.war *
Upvotes: 1