Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install a JDK that is 1.7 or above.
  2. Install ant.
  3. Install an svn client, version 1.7 or later.
  4. Install python 2.7+.
  5. Make sure you have write permissions on the directory where Apache Forrest will be checked out and installed, the first time your run Forrest it will attempt to create a plug-ins directory and download several plug-ins.
  6. Check out and prepare to build the current trunk version of Apache Forrest:
    Code Block
    svn co http://svn.apache.org/repos/asf/forrest/trunk forrest
    (Or, if you want to save time, just install Forrest-0.10-dev or above.)
  7. Change to the main build area:
    Code Block
    cd forrest/main
  8. Build forrest:
    Code Block
    build
  9. Follow the instructions the build gives you to complete the Forrest installation
  10. Checkout the ManifoldCF site code https://svn.apache.org/repos/asf/manifoldcf/site/trunk/.
  11. Change directory to where the site code was checked out.
  12. "ant make-core-deps" will download the necessary build dependencies.
  13. "ant build" will build the current site, including the release documentation from trunk. It will also check out and build Apache Forrest.  The generated site will be in ./build/site/.
  14. Make your desired website changes to the source files in ./src/ and regenerate the site with ant.

...

  1. Execute "python scripts/update-site.py". The first argument should be "./build/site". The second should be the root of the tree you just checked out.
  2. The site will automatically be exported from https://svn.apache.org/repos/asf/manifoldcf/site/publishImage Removed by the standard Apache svnpubsub process.

...

  1. Download the javadoc patch tool from http://www.oracle.com/technetwork/java/javase/downloads/java-doc-updater-tool-1955731.html.
  2. Run the tool as follows:

    Code Block
    java -jar JavadocUpdaterTool.jar -R <path>

    . You will need to run the tool on the "api" subdirectory of every release that appears under "./build/site/releases" . For example:

    Code Block
    java -jar JavadocUpdaterTool.jar -R ./build/site/releases/trunk/api

    .