This page documents how to Acquire a copy of the source code and Build the framework from source.
The easiest way to acquire the source code for Shale is to download one of the Nightly Build or Release Distributions, which contain both the source code and the binary libraries. Alternatively, you can check out the source code from the Shale Subversion repository using the URLs specified here.
Once you have acquired the source code for Shale from the Subversion repository or a nightly build, as described above, you can proceed to set up a development environment with which to build it. Follow these steps to continue:
-Djsf=ri
to the command line.mvn clean install
to completely
rebuild the framework distribution from source.mvn clean install
to completely
rebuild the example applications from source.pom.xml
file, so you can rebuild just that
subdirectory if desired.build.properties.sample
to
build.properties
, and customize the property values
it contains. Pay particular attention
to the following values:
jsfri.dir
- If you downloaded and installed the
JavaServer Faces Reference implementation, set this property
to the fully qualified pathname of the directory into which
you installed the distribution.jsf.home
- If you are using MyFaces, comment out
the default value and uncomment the following line.jsf-api.jar
- If you are using MyFaces, comment out
the default value and uncomment the following line.jsf-impl.jar
- If you are using MyFaces,
comment out the default value and uncomment the following
line.ant download-dependencies
- to download freely
available external dependencies.ant copy-jsf-ri
- if you are using the JSF RI, load
the appropriate artifacts.ant clean release
to completely
rebuild the entire distribution from source.build.xml
file, so you can rebuild just that
subdirectory if desired.