Tapestry is a component based framework for creating sophisticated web applications. It's used with existing application servers, acting as a kind of “super servlet”. Tapestry applications are built by configuring and combining components to form pages. You get surprisingly large amounts of robust functionality for startingly small amounts of effort and code!
The JARs were created on @OS_NAME@ @OS_VERSION@ using the @JAVA_VENDOR@ JDK @JAVA_VM_VERSION@ compiler.
This product includes software developed by the Apache Software Foundation (http://www.apache.org/).
Tapestry depends on a handful of non-ASL libraries. Because these libraries are not distributed under the terms of the Apache Software License, they may not be redistributed with as part of Tapestry. Tapestry's build scripts will automatically download the libraries as needed. Several libraries are only needed at build time, but some are needed at runtime (and are typically copied into WEB-INF/lib
). The two runtime libraries are:
The necessary libraries will automatically be downloaded when building the examples. The Ant target download-ext-framework
will also download the libraries. If you are behind a firewall, you may need to provide some additional properties in config/build.properties
.
In order to run the Tapestry demos, you need only the binary distribution (it includes the source code for the examples). The Ant build scripts will compile and build the Workbench and the Virtual Library example applications on your workstation, then deploy them into Jetty, Tomcat or JBoss.
JAVA_HOME
environment variable is set.PATH
.Basic setup: The demos require several external dependencies that cannot be distributed with Tapestry because of licensing conflicts. You will need one of the following:
In each case you will create the file config/build.properties
and put an absolute path to the installation directory (of Jetty, JBoss or Tomcat). Always use only forward slashes in the path name.
A sample file, config/build.properties.template
, is provided. You may edit and rename this file.
The build process downloads a number of extra files into the ext-dist
and lib/ext
directories. See the README.html in that directory for more details.
To run the Tapestry Workbench and the Virtual Library applications with the JBoss server:
This auto-configuration requires JBoss 3.0.6 exactly, not a later release. This only affects these turn-key demos, not deployment of your own Tapestry applications.
config/build.properties
and set property jboss.dir
to the absolute path name of the JBoss installation directory.ant -emacs configure run-jboss
-emacs
option changes the Ant output format to be less verbose).You can now run the Tapestry Workbench or the Virtual Library applications.
To run the Tapestry Workbench application with Jetty servlet container:
config/build.properties
and set property jetty.dir
to the absolute path name of the Jetty installation directory.ant -emacs run-workbench
You can now run the Tapestry Workbench application.
To deploy the Tapestry Workbench application onto an existing Tomcat installation:
To run the Tapestry Workbench application with Tomcat servlet container:
config/build.properties
and set property tomcat.dir
to the absolute path name of the Tomcat installation directory, for example C:/Program Files/Apache Group/Tomcat 4.1
.ant -emacs deploy-tomcat
You can then run the Tapestry Workbench application.
The source distribution includes the source code for the framework and the contrib library. You should extract the source distribution to the same directory as the binary distribution. You may then execute ant install
to compile all the frameworks and examples. Building documentation and running the unit tests requires some additional setup that is discussed in the Tapestry Contributor's Guide.
A complete set of documentation is distributed with Tapestry.
Tapestry is an open source project, hosted by The Jakarta Project and distributed under the terms of the Apache Software License 2.0.
© 2003-2004 Apache Software Foundation.