cancel
Showing results for 
Search instead for 
Did you mean: 

Wanted to Export WAR-File

Former Member
0 Kudos

Hello,

I have made a JSP/Servlet Application with Eclipse and a plugin to develop web applications. But now, my 30 days testing time is reached.

So I have installed SAP Netweaver Developer Studio 7.0.

But now I can´t export my project to a .WAR File, I need to install an the tomcat server.

Can anybody tell me, how to export my project into a WAR File?

Regards Michael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Michael,

Go to your bin directory of the java. There you will find it.

C:\Program Files\Java\jdk1.5.0_03\bin>

You want to know the usage then simply type jar and see the usage. Hope you got it.

Thanks and Regards

Vishal Kumar

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Michael,

Here is the command for creating a war file.

jar -cvf myServletWAR.war .

(Don't forget the period at the end of the command line!)

Hope this is what you were looking for.

Thanks and Regards

Vishal Kumar

Former Member
0 Kudos

Hey, thank You!

But where do I have to call the command? If I do it in the windows command line, command is unknown.

Regards Michael