ICEfaces-4.3-EE Sample Applications

The EE sample applications can be compiled using Apache Maven available here, https://maven.apache.org/download.html.

In order to successfully build the project please follow the following steps:

1)  Make sure that you have Maven and Ant installed and configured in your environment.
2)  From the root of the ICEfaces EE installation directory in the ee-build.properties file:
    a) Update the local.repository property so that the path maps to your local Maven repository
3)  In the maven2 directory:
    a) Run the "ant install" build target that packages and installs the appropriate ICEfaces libraries into the your local Maven repository:

    [icefaces-ee-install-dir]/maven2 > ant install

4)  Once all the libraries have been packaged and installed into your local Maven repository, you can use Maven to package the sample applications.  From inside the directory for the sample application you are interested in, you can build the .war file using Maven:

[icefaces-ee-install-dir]/samples/eps/poll > mvn package -P servlet

Note: There are two profiles for each example:
- The "servlet" profile which packages the JSF libraries (jsf-*.jar files) into the .war for deployment on application servers like Tomcat that don't already provide the JSF libraries.  This is the default profile.
- The "web" profile which excludes the JSF libraries (jsf-*.jar files) from the .war for deployment on application servers like Glassfish that do provide the JSF libraries.
