![]()
Setting up your Build Environment
For the tutorial applications, we rely on Ant as a build tool and Tomcat as the container to run the application. A build.xml file has been provided that can build and deploy the application to Tomcat for you. The build file relies on build.properties for system specific information that it needs to successfully build and deploy the application.
Edit the build.properties file to suit your environment. Modify the Tomcat host and port entries to match your environment. You will also need to modify the username and password to correspond to some existing username and password in the Tomcat tomcat-users.xml file or add a user with the manager role to the file if one is not already present.
Note: For security, the default Tomcat configuration does NOT include a username with the manager role. So if you have just downloaded and installed Tomcat, you'll need to add a manager role in order to deploy to Tomcat using the ant install task. An example tomcat-users.xml file is included in the tutorial directory as a reference. You can also look at Tomcat's documentation for more information.
<icefaces-install-dir>/tutorial/tabbedpane-myFaces/4. To compile the source code, generate a .war file with all the required resources, and deploy it to the running Tomcat server, from the command line, type:
ant install
|
Copyright 2005. ICEsoft Technologies, Inc. http://www.icesoft.com |