• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating WAR file using JAVA API  RSS feed

 
Srinivas Ivaturi
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have to create a WAR File using Java API. Can I use ZIP Stream API to do this. Is there any other way to do that for making the WAR file.
Thanks for your time and help in advance
Srinivas Ivaturi
 
Frank Griffith
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you considered using Jakarta ant for building the war file?
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frank makes an excellent suggestion, check out Ant. No need to reinvent the wheel.
Download the latest and check out the included API and docs, I'm sure there's something you can use there.
 
Srinivas Ivaturi
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your suggestios.
But I want to make a dynamic WAR file creation at the runtime. That is why I want to use any of the Java APIs. Please let me know if there is any procedure to make WAR
Thanks
Srinivas Ivaturi
 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/ZipOutputStream.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!