Prev | Current Page 128 | Next

Frank Zammetti

"Practical DWR 2 Projects"

xml and save it to simpleapp/WEB-INF/src.
Listing 2-1. The Ant Build Script for the Application









debuglevel="lines,vars,source">







CHAPTER 2 n GETTING TO KNOW DWR 53
This is a very simple build script that performs two simple tasks. First, it compiles the
source code found in simpleapp/WEB-INF/src/app and puts the resultant Java .class files in
simpleapp/WEB-INF/classes. Second, it creates a WAR file for deployment to a servlet container.
If this is your first exposure to Ant, I suggest taking a few moments to read the
documentation available on the Ant web site since that??™s a bit out of the scope of this book.
The scripts for the projects to come won??™t be a whole lot more complicated than this one, but
they will in fact be somewhat more so, and while you can get away without ever looking at
them, it??™s better to understand it all for the sake of completeness.


Pages:
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140