The next step is to create a build.properties (Web site)

The next step is to create a build.properties file that specifies environmental dependencies such as the location of the third-party JARs extracted in the previous step. The Struts source distribution provides a build.properties.sample file in the top-level source distribution directory. Open this file and rename it build.properties. You need to customize this file for your particular environment. The file paths are relative to the location of the properties file. For example, to reference the CommonsBeanUtils JAR file that is located in a directory called lib one level up, you would need to change the properties file to look like this: # The JAR file containing version 1.0 (or later) of theBeanutils package# from the Jakarta Commons project. commons-beanutils.jar=../lib/commons-beanutils-1.3/commonsbeanutils.jar Once you have all of the file paths set in the build.properties file, you are ready to turn the Struts source files into Struts binary files. Make sure Ant is installed and configured correctly, and make sure you downloaded the xalan.jar file and placed it in the /lib directory (this is needed so that an Ant task can process the XML documentation files). You will need to be able to execute Ant from the command line in the top-level source directory. Once you’ve completed these steps, go to the directory where the build.properties file is located and type: ant dist Messages will be spewed out in the console. When they finally stop, they should show that the build was successful, as in Figure B-1. Figure B-1. A success message is printed when complete
Please visit Domain Name Hosting services for high quality webhost to host and run your jsp applications.

Leave a Reply