Open in new window

back

Importing an Existing Struts Project with Any Structure

Exadel Studio includes an Import Struts Project Wizard that radically simplifies the process for bringing existing Struts applications into your Struts Studio workspace as Struts projects. You just need to follow these 4 steps:

  1. Select File/Import... from the menu bar, and then select Struts Project from the dialog box.

    importStrutsProject.gif

  2. Select the Change... button next to the web.xml Location field. Browse to the location of the web.xml file for the application you want to import as a Struts project. Once you select it, you'll be returned to the dialog box to see a project name derived from the web.xml file you selected. You can edit this project name, if you wish.

    importStrutsProjectWebXML

  3. Exadel Studio will try to determine your project structure. The upper pane shows the modules in this project. The lower pane allows you to edit the details of the select module. If the project structure is not standard or common, some values might be left blank. You can edit any values by hand or by using the Change... button.

    importStrutsProjectModules.gif

  4. This screen shows the finishing up of the configuration of the project through the setting of the Classes, Library, Enviroment, Servlet version and Ant build folders. Also, you can register this application with the current servlet container defined for your workspace (Tomcat, by default) in order to allow you to test your application more easily while still developing it. A new entry will be added in the servlet container's configuration file to enable running the application in-place (called null deployment or link deployment). Uncheck the Tomcat v5.0 Server @ localhost check box if you don't want to register your application at this point.

    importStrutsProjectWebContext.gif

Once the project is imported, it will appear in the Package Explorer view.

importStrutsProjectPackageExplorer.gif

back