RE: How to make a war file

2001-07-03 Thread

When in the directory of your web app: "jar -cvf myapp.war ." (without
quotes, of course)

-Original Message-
From: Anshul [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 12:51 PM
To: [EMAIL PROTECTED]
Subject: How to make a war file


I have got all the file structure ready to make this archive. But how do we
create one? I didn't find it being demonstrated at any place.
I studied that it's similar to jar. So what do I do? jar cvf xyz.jar abc?
And rename xyz.jar to xyz.war?



Re: How to make a war file

2001-07-03 Thread Zsolt Horvath

Hi !

See the attached files. Edit the build.xml and change this line:
  
Set the value to your application's directory name, and run the batch. Thats
it.



- Original Message -
From: "Anshul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 10:51 AM
Subject: How to make a war file


> I have got all the file structure ready to make this archive. But how do
we
> create one? I didn't find it being demonstrated at any place.
> I studied that it's similar to jar. So what do I do? jar cvf xyz.jar abc?
> And rename xyz.jar to xyz.war?
>
>










  
  
  
  
  
  




  






  




  

  




  

  





  

  




  




  


  




 build.bat


How to make a war file

2001-07-03 Thread Anshul

I have got all the file structure ready to make this archive. But how do we
create one? I didn't find it being demonstrated at any place.
I studied that it's similar to jar. So what do I do? jar cvf xyz.jar abc?
And rename xyz.jar to xyz.war?




RE: how to make a war file?

2001-06-19 Thread William Kaufman

> - is war-file a jar-file?

Yes, except it's got some extra entries, and it ends in ".war".  See the
servlet spec, at http://java.sun.com/products/servlet/2.2/ , for more
information on the WAR file format.

- which "command"/tool  can I use to do it?

jar.


-- Bill K. 

-Original Message-
From: Bo Xu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 8:38 AM
To: [EMAIL PROTECTED]
Subject: how to make a war file?



Hi :-)  could anybody tell me how to put a myapp/Servlet-context into a
war file? I can do something similar with J2EERI, but I don't know how
to do it by myself:

- is war-file a jar-file?
- which "command"/tool  can I use to do it?


thanks in advance!


Bo
June 19, 2001





Re: how to make a war file?

2001-06-19 Thread Peter Choe

use the jar tool, but put a war extension instead of jar.

Bo Xu wrote:
> 
> Hi :-)  could anybody tell me how to put a myapp/Servlet-context into a
> war file? I can do something similar with J2EERI, but I don't know how
> to do it by myself:
> 
> - is war-file a jar-file?
> - which "command"/tool  can I use to do it?
> 
> thanks in advance!
> 
> Bo
> June 19, 2001



how to make a war file?

2001-06-19 Thread Bo Xu


Hi :-)  could anybody tell me how to put a myapp/Servlet-context into a
war file? I can do something similar with J2EERI, but I don't know how
to do it by myself:

- is war-file a jar-file?
- which "command"/tool  can I use to do it?


thanks in advance!


Bo
June 19, 2001