Hi Michael,
Assembling a war file is fairly simple. you jar up the files in the
docroot that are part of the application and the WEB-INF directory.
Please feel free to file an enhancement request to provide a "build war"
target for the demo application and I'll be sure to do this.
The motivation for the existing structure was to include your
development environment in the .war structure. So you don't have a a
deployment directory and a development directory and get confused
between the 2. This avoids the need to copy files, etc. That said,
this is just an example... you are free to create your development
environment and build structure any way you want. JSFTemplating does
not use and is not aware of your build structure... it just needs to
exist in the running app's WEB-INF/lib directory. :)
As always, thanks for the feedback.
Ken
Michael Phoenix wrote:
> 1. I was looking at my succesfully built demo application. and the
> structure just does not seem to reflect standard web application. The
> build directory does not contain a WEB-INF subdirectory or a web.xml
> file. It resembles no standard build directory that I have ever seen
> in a web project. Is there a reason for not going along with the J2EE
> standard on this? How would you create a WAR file?
>
> 2. How is the first page that in demo accessed when you enter
> localhost:8080/demo into your browser, what tells the application
> which page to bring up first? There's no index file of any sort in demo.