Web Tools pathway 2
You already have an existing Web site, and you want to import your Web site into Rational Developer, including enabling the new Web project to use Web Site Designer.
- Learn about Rational Developer features and Web development tools such as Web Site Designer.
- Move your Web resources into Rational Developer as a Web project.
- If you already have your existing Web site packaged as a Web archive (WAR) file, import the WAR. Your existing resources will appear in the Project Explorer in the format that Rational Developer displays Web projects.
- If you need to import Web resources outside of a WAR, such as a multiple HTML files, JSP files, images, and other files used in your current Web site, you need to first create an empty dynamic Web project, and then import your existing resources.
- Check that your Web project contains a Web Site Navigation file in the Project Navigator view. This file indicates that the project is enabled for Web Site Designer support.
- If there is no file present, most likely the project you imported is not a native Rational Developer project; therefore, the Web Site Designer configuration file does not exist in the project. To create this file and use the features of Web Site Designer, enable Web Site Designer support for your Web project.
- If the file is present, it is because you created an empty dynamic Web project before importing your Web resources.
- Double-click the Web Site Navigation file to open Web Site Designer to the Navigation view.
- Add the existing pages to Web Site Designer's Navigation view. You should understand the importance of Web site organization in order to ensure you add your existing pages correctly.
- Check your Web site structure. Though your existing pages can be added to the Navigation view with the links and relationships intact, you must still check the Web Site Navigation to make sure those relationships are represented correctly now that they have been imported into Rational Developer.
- Fix broken links using the Fixup link references wizard. Also, check the Links view to locate broken links caused by missing resources.
- If needed, import missing resources to fix any errors.
- Test your new Web project on a server. Testing the project ensures that all of your resources have been imported properly. For more information, see the server tools documentation.