For all the next instructions, we assume that you downloaded and installed Maven.
To download packages from the source repository, you need to download and install Subversion.
If you want to build something including JavaDocs (assemblies, sites and JavaDoc report itself) you need to install GraphViz, otherwise you will notice missing pictures inside JavaDocs pages.
WARNING: Due to some bugs in recent versions of GraphViz, we reccomend to use GraphViz version 2.8, otherwise you will notice that client HTML maps do not work properly.
To build Tiles 2 from source you need to:
svn co http://svn.apache.org/repos/asf/tiles/framework/trunk/
mvn package
You will find the generated JARs under:
To build Tiles Showcase from source you need to:
svn co http://svn.apache.org/repos/asf/tiles/examples/trunk/tiles-showcase/
mvn package
You will find the generated JARs under
{tiles-showcase-dir}/target/tiles-showcase-${version}.jar
.
You can also see the showcase in action by using the Cargo plugin:
mvn package cargo:start
or
mvn package cargo:start -Dcargo.tomcat5x.home=/path/to/tomcat5
To build distributions, you need to:
svn co http://svn.apache.org/repos/asf/tiles/framework/trunk/
mvn install site
{tiles-dir}/assembly
directory and
type:mvn assembly:assembly
You will find the generated distribution under
{tiles-dir}/assembly/target/assembly/out
.
There are two Tiles websites: the main website and the framework website.
To build the main website:
svn co http://svn.apache.org/repos/asf/tiles/site/
mvn site
You will find the generated distribution under
{tiles-site-dir}/target/site
.
To build the framework website:
svn co http://svn.apache.org/repos/asf/tiles/framework/trunk/
mvn site
You will find the generated websites under: