WARNING: This page applies to an older version of Tapestry. Current information is at http://tapestry.apache.org/

Tapestry 4.0 is now available as a packaged release... but for the brave and the foolhardy, there's the question of building it from source.

Check out the current trunk using:

svn co http://svn.apache.org/repos/asf/tapestry/tapestry4/trunk tapestry-trunk

A set of Ant build files was created for HiveMind, called "HiveBuild". They are designed to be reasonably reused; that's what Tapestry does.

At this moment, Tapestry builds against HiveMind 1.1.1. You will need to get HiveMind from http://jakarta.apache.org/site/downloads/downloads_hivemind.cgi

You also need Ant 1.6.2 and JDK 1.5. If you want to build the documentation, you also need to download and install Apache Forrest from http://xml.apache.org/forrest/ (latest from trunk, i.e. 0.8-dev, works fine).

Before building Tapestry, you must tell Tapestry's build scripts where the HiveBuild scripts (from HiveMind are).

Inside tapestry-trunk/config create a build.properties file:

hivebuild.dir=c:/workspace/jakarta-hivemind/hivebuild

Adjust the path as necessary. It must be the absolute path to the hivebuild directory.

From the tapestry-trunk directory, you should be able to build (ant install). Nearly all intermediate files (such as compiled class files) are copied into tempdir/tapestry ... typically C:/WINDOWS/TEMP/tapestry (or C:/Documents and Settings/Your{{`User}}`Name/Local Settings/Temp/tapestry). Ant will automatically download various dependencies from the Maven repository on ibiblio. You might have to run it a couple of times, dependending on what it has to download (it has to stop after copying certain libraries into Ant's lib directory).

  • No labels