Changing an Existing Directory into a Web Module

See Also

If you already have a number of files for your web module in a particular directory, you might want to change that directory into a web module directory and continue development from there.

To change an existing directory into a web module:

  1. Choose File and choose Mount Filesystem to mount the filesystem root directory to be converted.
  2. In the Explorer, select the newly mounted filesystem.
  3. From the main menu bar, choose Tools and choose Convert Filesystem into Web Module.

Note that the directory has not actually moved, but is now recognized by the IDE as a web module directory. When a web module containing .jar files in its WEB-INF/lib directory is mounted, the .jar files in the lib directory are mounted as well, unless they were developed in the IDE and the development directory is already mounted.

You can now view the web module directory in the Explorer in either the Filesystem or the Project pane.

Alternatively,

  1. From the main menu bar, choose File and choose New to open the Template Chooser.
  2. From the JSP & Servlet template category, select the Web Module template, and click Next.
  3. When the Web Module dialog box opens, click the ellipsis button to open the file chooser.
  4. Navigate to the existing directory that you want to change into a web module. Select it, and click Add.
  5. Verify that the Directory field in the Web Module dialog box indicates the chosen directory, and click Finish.
See Also
Using CVS With Web Modules
Creating a New Directory as a Web Module
Changing a Web Module Directory Into a Standard Directory

Legal Notices