The first Add Files to WAR dialog box enables you to add content files or
whole directories to your .war file. An example of a content file
would be a .gif or .html file.
Click Browse to select the root directory of the files or directories
that you want to add. For example, if your class files are part of a
package called adder and your directory structure looks like:
examples
|
adder
|
MyAdder.html
then choose examples as your root directory.
Select the directory or file that you want to add from the root
directory structure. If you chose examples directory in the previous
step, all of the files and directories contained in examples are
displayed in the root directory structure.
Click Add to add the selected directory or file to the
.war file. If you chose examples as your root
directory and added MyAdder.html to the .war
file, adder/MyAdder.html or adder\MyAdder.html should
appear in the lower text field.
If you want to add class files, click Next to advance to the dialog for
adding class files to the .war file.
If you don't want to add class files, click Finish.