Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How does one make a *%$#@ .war file?

 
Skip Cole
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How does one make a *%$#@ .war file?
I am trying to use BEA Weblogic 6, and it looks for my JSP's in .war files, which I cannot find out how to make.
Any help will be greatly appreciated.
Skip
 
Skip Cole
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forget it.
As usual, the moment I ask an obvious question, 20 seconds later I find the answer. (Of course if I had not asked, I would have run around this forever.)
Answer to this question: start the j2ee server, start the deploytool, fiddle with deploytool until it works.
I'm going to actually do the j2ee tutorial (http://java.sun.com/j2ee/tutorial/index.html) and learn something.
Skip
[This message has been edited by Skip Cole (edited April 04, 2001).]
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do it the long way, building a directoiry structure and usinj "jar" to make the WAR file, but this can be a bit tricky if you are not fully conversant with the layout and contents of a WAR file.
These days I use the Ant build tool (from http://jakarta.apache.org/ ) for most of my java development, and it conveniently comes with a "war" task which makes generating a sensible war from a project almost trivial.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic