Fork me on GitHub

Building the Autotag project

Prerequisites

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.

Building main packages

To build the Autotag project from source you need to:

  • download the source distribution, or checkout the latest version:

    svn co http://svn.apache.org/repos/asf/tiles/framework/trunk/tiles-autotag
  • go into the source directory and type:

    mvn package

You will find the generated JARs under:

  • {autotag-dir}/maven-autotag-plugin/target/maven-autotag-plugin-${version}.jar
  • {autotag-dir}/tiles-autotag-core/target/tiles-autotag-core-${version}.jar
  • {autotag-dir}/tiles-autotag-core-runtime/target/tiles-autotag-core-runtime-${version}.jar
  • {autotag-dir}/tiles-autotag-freemarker/target/tiles-autotag-freemarker-${version}.jar
  • {autotag-dir}/tiles-autotag-jsp/target/tiles-autotag-jsp-${version}.jar
  • {autotag-dir}/tiles-autotag-velocity/target/tiles-autotag-velocity-${version}.jar

Building the websites

There are four Tiles websites: the main website and the projects websites (tiles-request, tiles-autotag and framework).

Building the main website

To build the main website:

  • checkout the site from the source repository:

    svn co http://svn.apache.org/repos/asf/tiles/site/
  • go into the site directory and type:

    mvn clean site site:stage

You will find the generated distribution under {tiles-site-dir}/target/staging.

Building the tiles-autotag website

To build a project's website:

  • download the source distribution, or checkout the latest version:

    svn co http://svn.apache.org/repos/asf/tiles/framework/trunk/tiles-autotag
  • go into the source directory and type:

    mvn clean site site:stage

You will find the generated website under:

  • {tiles-autotag-dir}/target/staging