You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2003/01/17 18:39:09 UTC
cvs commit: jakarta-tapestry TODO.html Readme.html build.xml .classpath
hlship 2003/01/17 09:39:09
Modified: . Readme.html build.xml .classpath
Added: . TODO.html
Log:
Roll in changes from hship-2-3 branch.
Revision Changes Path
1.78 +282 -295 jakarta-tapestry/Readme.html
Index: Readme.html
===================================================================
RCS file: /home/cvs/jakarta-tapestry/Readme.html,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- Readme.html 15 Jan 2003 20:55:45 -0000 1.77
+++ Readme.html 17 Jan 2003 17:39:08 -0000 1.78
@@ -1,14 +1,15 @@
<html>
<!-- $Id$ -->
<head>
- <title>Tapestry: Java Web Components </title>
-<link rel="STYLESHEET" type="text/css" href="web/scripts/style_virtlib_pcIE55.css">
+<title>Tapestry: Java Web Components</title><link rel="STYLESHEET" type="text/css" href="web/scripts/style_virtlib_pcIE55.css">
</head>
<style>
-TR.odd
+SPAN.hyper-em
{
- background-color: silver;
+ font-style: italic;
+ font-weight: bold;
+ color: white;
}
</style>
@@ -16,10 +17,12 @@
<body bgcolor="#839cd1" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="white">
<tr>
- <td height="5"><IMG height=1 src="web/images/spacer.gif" width=1 border=0></td>
+ <td height="5"><IMG height=1 src="web/images/spacer.gif" width=1 border=0>
+ </td>
</tr>
<tr>
- <td align="left" valign="top" height="20"><span class="release">Release @VERSION@</RELEASE></span></td>
+ <td align="left" valign="top" height="20"><span class="release">Release @VERSION@</RELEASE></span>
+ </td>
</tr>
<tr bgcolor="#4b5887">
<td colspan="3" height="20"><IMG height=1 src="web/images/spacer.gif" width=1 border=0>
@@ -28,21 +31,16 @@
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
-<tr>
-<td>
-
-<IMG height=44 src="web/images/ico_t.gif" width=44 align=absMiddle border=0> <IMG height=22 alt="" src="web/images/hd_tapestry.gif" width=100 align=absMiddle vspace=17 border=0>
-
-
+ <tr>
+ <td><IMG height=44 src="web/images/ico_t.gif" width=44 align=absMiddle border=0> <IMG height=22 alt="" src="web/images/hd_tapestry.gif" width=100 align=absMiddle vspace=17 border=0>
<p>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".
The <a href="http://tapestry.sf.net">Tapestry Home Page</a>
contains much more information about what Tapestry
is, how to use it and why you can't live without it!
-
-<p>Tapestry is distributed as a single distribution, including source code, compiled frameworks,
-examples and documentation.
-
+<p>Tapestry is available as two
+ distributions, the core distribution includes precompiled JARs, source code and examples. The doc
+distribution contains documentation.
<p>The JARs were created on
@OS_NAME@ @OS_VERSION@
using the
@@ -51,92 +49,66 @@
<p>This product includes software developed by the Apache Software Foundation
(<a href="http://www.apache.org/">http://www.apache.org/</a>).
-
-<P>
-<IMG height=12 src="web/images/dots_leftnav.gif" width=14> <A class=clsLeftNav href="#config">Configuration</A>
-<br>
-<IMG height=12 src="web/images/dots_leftnav.gif" width=14> <A class=clsLeftNav href="#doc">Documentation</A>
-<br>
-<IMG height=12 src="web/images/dots_leftnav.gif" width=14> <A class=clsLeftNav href="#jars">Third Party Jars</A>
-
-
-
- <br><br>
- .....................................................
- <br><br>
-
-
-
-<a name="config"></a>
+<p><IMG height=12 src="web/images/dots_leftnav.gif" width=14> <A class=clsLeftNav href="#config">Configuration</A><br><IMG height=12 src="web/images/dots_leftnav.gif" width=14> <A class=clsLeftNav href="#doc">Documentation</A><br><IMG height=12 src="web/images/dots_leftnav.gif" width=14> <A class=clsLeftNav href="#jars">Third Party Jars</A><br><br>.....................................................<br><br><a name="config"></a>
<h2>Configuration</h2>
<p>Tapestry ships with the the Tapestry Tutorial and the Virtual Library demo applications, which are very
easy to configure and run. To run these Tapestry appliations please ensure:
-<ul>
-<li>JDK 1.3 or newer JVM is installed, and the <tt>JAVA_HOME</tt> environment variable is set.</B>
-<li><b><a href="http://jakarta.apache.org/ant">Ant</a></b> 1.5 or newer is installed, and is added
+ <ul>
+ <li>JDK 1.3 or newer JVM is installed, and the <tt>JAVA_HOME</tt> environment variable is set.</B>
+ <li><b><a href="http://jakarta.apache.org/ant">Ant</a></b> 1.5 or newer is installed, and is added
to the system <tt>PATH</tt>.</li>
-</ul>
-
-<p>
-To run the Tapestry Tutorial and the Virtual Library applications with the
+ </ul>
+<p>To run the Tapestry Tutorial and the Virtual Library applications with the
<a href="http://sourceforge.net/projects/jboss">JBoss</a> server:
-<ul>
-<li><b>Download <b><a href="http://prdownloads.sourceforge.net/jboss/jboss-3.0.0.zip?download">JBoss 3.0.0</a></b>. </b>
- JBoss is an open-source application server, used to run the database and Enterprise JavaBeans in the Virtual Library.
-<em>The Virtual Library can only be
- auto-configured using the JBoss 3.0.0 distribution.</em>
-<li><b>Create the file <code><i>Tapestry</i>/config/build.properties</code>.</b>
+ <ul>
+ <li><b>Download <a href="http://prdownloads.sourceforge.net/jboss/jboss-3.0.4.zip?download">JBoss 3.0.4</a></b>.<br>JBoss is an open-source application server, used to run the database and Enterprise JavaBeans in the Virtual Library.
+<p><span class="hyper-em">This auto-configuration requires JBoss 3.0.4 exactly, not a later release. This only affects these turn-key
+demos, not deployment of actual Tapestry applications.</span></p>
+ <li><b>Create the file
+ <code>config/build.properties</code>.<br></b>
This file informs
Tapestry where JBoss as been installed.
- The directory contains a template file.
- Set <code>jboss.dir</code> to the JBoss installation
- directory, for example <i>C:/JBoss-3.0.0</i>.
+ The <code>config</code> directory contains a template file.
+ Set
+ <code>jboss.dir</code> to the JBoss installation
+ directory, for example <i>C:/JBoss-3.0.4</i>.
<b>Note:</b> Use only forward slashes in this file name.
-
-<li><b>Execute the command: <code>ant -emacs configure run-jboss</code></b>
-<br>This will copy and configure the necessary files in the JBoss installation directory,
+ <li><b>Execute the command:
+ <code>ant -emacs configure run-jboss</code></b><br>This will copy and configure the necessary files in the JBoss installation directory,
then run the JBoss server, automatically deploying the Tapestry Tutorial and
-the Virtual Library demonstration. (The <code>-emacs</code> option
- changes the Ant output format to be less verbose).</li>
-
-</ul>
-
-<blockquote>
-Congratulations, you can now run the
+the Virtual Library demonstration. (The
+ <code>-emacs</code>option
+ changes the Ant output format to be less verbose).</li>
+ </ul>
+ <blockquote>Congratulations, you can now run the
<a href="http://localhost/tutorial">Tapestry Tutorial</a>
or the
-<a href="http://localhost/vlib/app">Virtual Library</a> applications.
-</blockquote>
-
-<p>
-
-To run the Tapestry Tutorial application with the
-<a href="http://sourceforge.net/projects/jetty">Jetty</a> server included in this distribution:
-<ul>
-<li><b>Execute the command: <code>ant run-tutorial</code></b>
-<br>This will run the Jetty server and the <a href="http://localhost:8080/tutorial">Tapestry Tutorial</a> application.</li>
-</ul>
-
-<p>
-To deploy the Tapestry Tutorial application onto an existing
+<a href="http://localhost/vlib/app">Virtual Library</a> applications.</blockquote>
+<p>To run the Tapestry Tutorial application with the
+<a href="http://sourceforge.net/projects/jetty">Jetty</a> server included in this distribution (this does not involve
+JBoss):
+ <ul>
+ <li><b>Execute the command:
+ <code>ant run-tutorial</code></b><br>This will run the embedded
+ Jetty server and the <a href="http://localhost:8080/tutorial">Tapestry Tutorial</a> application.</li>
+ </ul>
+<p>To deploy the Tapestry Tutorial application onto an existing
<a href="http://jakarta.apache.org/tomcat">Tomcat</a> server:
-<ul>
-<li><b>Create the file <code><i>Tapestry</i>/config/build.properties</code>.</b>
- This file informs Tapestry where Tomcat as been installed.
- The directory contains a template file.
- Set <code>tomcat.dir</code> to the Tomcat installation
+ <ul>
+ <li><b>Create the file
+ <code>config/build.properties</code>.<br></b>This
+ file informs Tapestry where Tomcat as been installed. The
+ <code>config</code> directory contains a template file.
+ Set
+ <code>tomcat.dir</code>to the Tomcat installation
directory, for example <i>C:/Program Files/Apache Group/Tomcat 4.1</i>.
<b>Note:</b> Use only forward slashes in this file name.
-<li><b>Execute the command: <code>ant deploy-tomcat</code></b>
-<br>This will deploy run tutorial application onto the Tomcat server. If Tomcat is running
- you should be able to access <a href="http://localhost:8080/tutorial">Tapestry Tutorial</a> application, otherwise start Tomcat to access the
- application.</li>
-
-</ul>
-
-
-<a name="doc"></a>
+ <li><b>Execute the command:
+ <code>ant deploy-tomcat</code></b><br>This will deploy run tutorial application onto the Tomcat server. If Tomcat is running you
+ should be able to access the <a href="http://localhost:8080/tutorial">Tapestry Tutorial</a> application, otherwise start Tomcat to access the
+ application.</li>
+ </ul><a name="doc"></a>
<h2>Documentation</h2>
Tapestry documentation is distributed seperately from the main binary distribution,
@@ -145,229 +117,243 @@
or is available <a href="http://tapestry.sf.net/doc_frame.html">online</a>.
<p>
- <table border="0" cellspacing="0" cellpadding="2">
- <tr valign="top">
- <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14></td>
- <td><A class=clsLeftNav href="web/doc/api/">Tapestry API Documentation</A>
-
- <br><br>
-
- Full documentation for the Tapestry framework, the <code>contrib</code>
- framework (which contains additional components and classes),
+ <table border="0" cellspacing="0" cellpadding="2">
+ <tr valign="top">
+ <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14>
+ </td>
+ <td><A class=clsLeftNav href="web/doc/api/">Tapestry API Documentation</A><br><br>Full documentation for the Tapestry framework, the
+ <code>contrib</code>framework (which contains additional components and classes),
and all the example code.
- </td>
- </tr>
-
- <tr><td height="10" colspan="4"><IMG src="images/spacer.gif" width=1></td></tr>
-
- <tr valign="top">
- <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14></td>
- <td><A class=clsLeftNav href="web/doc/ComponentReference/">Tapestry Component Reference</A>
-
- <br><br>
-
- A handy refrence to the built-in Tapestry components, with example
+ </td>
+ </tr>
+ <tr>
+ <td height="10" colspan="4"><IMG src="images/spacer.gif" width=1>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14>
+ </td>
+ <td><A class=clsLeftNav href="web/doc/ComponentReference/">Tapestry Component Reference</A><br><br>A handy refrence to the built-in Tapestry components, with example
specifications, HTML templates and code.
- </td>
- </tr>
-
- <tr><td height="10" colspan="4"><IMG src="images/spacer.gif" width=1></td></tr>
-
- <tr valign="top">
- <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14></td>
- <td><A class=clsLeftNav href="web/doc/Tutorial/Tutorial.html">Tutorial</A>
- <IMG height=12 src="web/images/dots_leftnav.gif" width=14>
- <A class=clsLeftNav href="web/doc/Tutorial/Tutorial.pdf">[PDF]</A>
-
- <br><br>
- The best way to begin learning about the Tapestry framework; this document
- eases the reader into basic Tapestry concepts.
- </td>
- </tr>
-
- <tr><td height="10" colspan="4"><IMG src="images/spacer.gif" width=1></td></tr>
-
- <tr valign="top">
- <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14></td>
- <td><A class=clsLeftNav href="web/doc/DevelopersGuide/DevelopersGuide.html">Tapestry Developer's Guide</A>
- <IMG height=12 src="web/images/dots_leftnav.gif" width=14>
- <A class=clsLeftNav href="web/doc/DevelopersGuide/DevelopersGuide.pdf">[PDF]</A>
-
- <br><br>
- Exhaustive reference for Tapestry, in extreme detail.
- </td>
- </tr>
-
-
- <tr><td height="10" colspan="4"><IMG src="images/spacer.gif" width=1></td></tr>
-
- <tr valign="top">
- <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14></td>
- <td><A class=clsLeftNav href="web/doc/ContributorsGuide/ContributorsGuide.html">Tapestry Contributor's Guide</A>
- <IMG height=12 src="web/images/dots_leftnav.gif" width=14>
- <A class=clsLeftNav href="web/doc/ContributorsGuide/ContributorsGuide.pdf">[PDF]</A>
-
- <br><br>
- A guide for advanced developers who want to contribute code back to the Tapestry framework.
+ </td>
+ </tr>
+ <tr>
+ <td height="10" colspan="4"><IMG src="images/spacer.gif" width=1>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14>
+ </td>
+ <td><A class=clsLeftNav href="web/doc/Tutorial/Tutorial.html">Tutorial</A><IMG height=12 src="web/images/dots_leftnav.gif" width=14><A class=clsLeftNav href="web/doc/Tutorial/Tutorial.pdf">[PDF]</A><br><br>The best way to begin learning about the Tapestry framework; this document
+ eases the reader into basic Tapestry concepts.
+ </td>
+ </tr>
+ <tr>
+ <td height="10" colspan="4"><IMG src="images/spacer.gif" width=1>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14>
+ </td>
+ <td><A class=clsLeftNav href="web/doc/DevelopersGuide/DevelopersGuide.html">Tapestry Developer's Guide</A><IMG height=12 src="web/images/dots_leftnav.gif" width=14><A class=clsLeftNav href="web/doc/DevelopersGuide/DevelopersGuide.pdf">[PDF]</A><br><br>Exhaustive reference for Tapestry, in extreme detail.
+ </td>
+ </tr>
+ <tr>
+ <td height="10" colspan="4"><IMG src="images/spacer.gif" width=1>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td><IMG height=12 src="web/images/dots_leftnav.gif" width=14>
+ </td>
+ <td><A class=clsLeftNav href="web/doc/ContributorsGuide/ContributorsGuide.html">Tapestry Contributor's Guide</A><IMG height=12 src="web/images/dots_leftnav.gif" width=14><A class=clsLeftNav href="web/doc/ContributorsGuide/ContributorsGuide.pdf">[PDF]</A><br><br>A guide for advanced developers who want to contribute code back to the Tapestry framework.
Discusses coding conventions, CVS access procedures, documentation standards and the like.
- </td>
- </tr>
- </table>
- <UL></UL>
-
-
-<a name="jars"></a>
+ </td>
+ </tr>
+ </table>
+ <ul>
+ </ul><a name="jars"></a>
<h2>Third party JARs</h2>
Tapestry requires some third party JARs when it is compiled, as well as
at runtime. These files are are included in the distribution.
<p>
-<table border="0">
-
- <tr bgcolor="black">
- <th><font color="white">JAR file</font>
- </th>
- <th><font color="white">Version</font>
- </th>
- <th><font color="white">License</font>
- </th>
- <th><font color="white">Description</font><
- </th>
- </tr>
-
- <tr valign="top" class="even">
- <td>com.mortbay.jetty-jdk1.2.jar
- </td>
-
- <td>4.1.0
- </td>
- <td><A href="LICENSE.Jetty.html">Jetty License</A>
- <td>Jetty HTTP Servlet Server, see <a href="http://sourceforge.net/projects/jetty">
- http://sourceforge.net/projects/jetty
+ <table border="0">
+ <tr bgcolor="black">
+ <th><font color="white">JAR file</font>
+ </th>
+ <th><font color="white">Version</font>
+ </th>
+ <th><font color="white">License</font>
+ </th>
+ <th><font color="white">Description</font>
+ </th>
+ </tr>
+ <tr valign="top">
+ <td>bsf-2.0.3.jar
+ </td>
+ <td>2.0.3-rc1
+ </td>
+ <td>Apache Software License
+ </td>
+ <td>Bean Scripting Framework; used by Tapestry to allow event listeners
+ to be written in a scripting language instead of Java.
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>com.mortbay.jetty-jdk1.2.jar
+ </td>
+ <td>4.1.0
+ </td>
+ <td><A href="LICENSE.Jetty.html">Jetty License</A>
+ <td>Jetty HTTP Servlet Server, see
+ <a href="http://sourceforge.net/projects/jetty">http://sourceforge.net/projects/jetty
</a>
- </td>
- </tr>
- <tr valign="top" class="odd">
- <td>ejb.jar
- </td>
-
- <td>from jBoss 2.2.2
- </td>
- <td> LGPL</A>
- <td>EJB 1.1 , copied from the
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>commons-lang-1.0.jar<br>commons-logging-1.0.2.jar
+ </td>
+ <td>1.0, 1.0.2
+ </td>
+ <td>Apache Software License
+ </td>
+ <td>Support libraries; part of <a href="http://jakarta.apache.org/commons">Jakarta Commons</a>
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>ejb.jar
+ </td>
+ <td>from JBoss 2.2.2
+ </td>
+ <td>LGPL</A>
+ <td>EJB 1.1 , copied from the
<a href="http://www.jboss.org">JBoss</a> distribution.
<p>This library is required to compile Tapestry and
to compile and run the demos and tutorials.</p>
- </td>
- </tr>
-
-
- <tr valign="top" class="even">
- <td>jakarta-oro-2.0.6.jar
- </td>
-
- <td>2.0.6
- </td>
- <td><A href="LICENSE.jakarta-oro.txt">Apache Software License, Version 1.1</A>
- <td>Regular expression library
- </td>
- </tr>
-
- <tr valign="top" class="odd">
- <td>javax.servlet.jar
- </td>
-
- <td>2.3
- </td>
- <td><A href="LICENSE.javax.servlet.txt">Apache Software License, Version 1.1</A>
- <td>Servlet API 2.3 reference implementation,
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>jakarta-oro-2.0.6.jar
+ </td>
+ <td>2.0.6
+ </td>
+ <td><A href="LICENSE.jakarta-oro.txt">Apache Software License, Version 1.1</A>
+ <td>Regular expression library
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>javax.servlet.jar
+ </td>
+ <td>2.3
+ </td>
+ <td><A href="LICENSE.javax.servlet.txt">Apache Software License, Version 1.1</A>
+ <td>Servlet API 2.3 reference implementation,
distributed with Jetty
- </td>
- </tr>
-
- <tr valign="top" class="even">
- <td>javax.xml.jaxp.jar
- </td>
-
- <td>1.1
- </td>
- <td><A href="LICENSE.javax.xml.html">Sun Binary Code License</A>
- </td>
- <td>Java API for XML Processing , distributed with Jetty
- </td>
- </tr>
-
- <tr valign="top" class="odd">
- <td>jcommon-0.6.4jar
- </td>
-
- <td>0.6.4
- </td>
- <td><A href="LICENSE.JFreeChart.txt">LGPL</A>
- </td>
- <td>Part of <a href="http://www.object-refinery.com/jfreechart/">JFreeChart</a>, used in the Workbench tutorial.
- </td>
- </tr>
-
- <tr valign="top" class="even">
- <td>jfreechart-0.9.2.jar
- </td>
-
- <td>0.9.2
- </td>
- <td><A href="LICENSE.JFreeChart.txt">LGPL</A>
- </td>
- <td>Part of <a href="http://www.object-refinery.com/jfreechart/">JFreeChart</a>, used in the Workbench tutorial.
- </td>
- </tr>
-
-
- <tr valign="top" class="odd">
- <td>log4j-1.2.6.jar
- </td>
- <td>1.2.6
- </td>
- <td><A href="LICENSE.log4j.txt">Apache Software License, Version 1.1</A></A>
- <td>Logging Toolkit, logging toolkit used by Tapestry framework classes.
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>javax.xml.jaxp.jar
+ </td>
+ <td>1.1
+ </td>
+ <td><A href="LICENSE.javax.xml.html">Sun Binary Code License</A>
+ </td>
+ <td>Java API for XML Processing , distributed with Jetty
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>jcommon-0.6.4jar, <br>
+ jfreechart-0.9.2.jar
+ </td>
+ <td>0.6.4, 0.9.2
+ </td>
+ <td><A href="LICENSE.JFreeChart.txt">LGPL</A>
+ </td>
+ <td>Part of <a href="http://www.object-refinery.com/jfreechart/">JFreeChart</a>, used in the Workbench example application.
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>log4j-1.2.6.jar
+ </td>
+ <td>1.2.6
+ </td>
+ <td><A href="LICENSE.log4j.txt">Apache Software License, Version 1.1</A></A>
+ <td>Logging toolkit. Used indirectly, via commons-logging framework.
More information at the <a href="http://jakarta.apache.org/log4j">log4j home page</a>.
- </td>
- </tr>
-
-
- <tr valign="top" class="even">
- <td>mckoidb.jar</td>
- <td>0.92 beta</td>
- <td>GPL</td>
- <td><A href="http://mckoi.com/database/">McKoi
- SQL Database</A>, Java SQL Database used for the Virtual Library demonstration.
- </td>
- </tr>
-
-
- <tr valign="top" class="odd">
- <td>ognl-2.3.0-opt.jar</td>
- <td>2.3.0</td>
- <td><A href="LICENSE.ognl.txt">BSD?</A></td>
- <td><a href="http://www.ognl.org">Object Graph
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>mckoidb.jar
+ </td>
+ <td>0.92 beta
+ </td>
+ <td>GPL
+ </td>
+ <td><a href="http://mckoi.com/database/">McKoi
+ SQL Database</a>, Java SQL Database used for the Virtual Library example application.
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>ognl-2.3.0-opt.jar
+ </td>
+ <td>2.3.0
+ </td>
+ <td><A href="LICENSE.ognl.txt">BSD?</A>
+ </td>
+ <td><a href="http://www.ognl.org">Object Graph
Navigation Library</a>.
+ </td>
+ </tr>
+ <tr bgcolor="black">
+ <td colspan="5" height="1"><IMG src="web/images/spacer.gif"></td>
+ </tr>
+ <tr valign="top">
+ <td>org.apache.crimson.jar
+ </td>
+ <td>1.1
+ </td>
+ <td><A href="LICENSE.javax.xml.html">Sun Binary Code License</A>
+ </td>
+ <td>Sun XML Parser, Distributed with Jetty
+ </td>
+ </tr>
+ </table><br><br>.....................................................<br><br>
+<p>Tapestry is an open source project, hosted at
+ <a href="http://jakarta.apache.org">Jakarta</a>
+ and licensed
+under the <A href="License.txt">Apache Software License 1.1</A>.</p><A href="http://jakarta.apache.org"></A>
</td>
</tr>
-
-
- <tr valign="top" class="even">
- <td>org.apache.crimson.jar
- </td>
- <td>1.1
- </td>
- <td><A href="LICENSE.javax.xml.html">Sun Binary Code License</A>
- </td>
- <td> Sun XML Parser, Distributed with Jetty
- </td>
- </tr>
-
- <tr bgcolor="black">
- <td colspan="5" height=1><IMG src="web/images/spacer.gif"></td>
- </tr>
</table>
@@ -383,7 +369,8 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#8e9cd1">
- <td> </td>
+ <td>
+ </td>
</tr>
<tr bgcolor="#4b5887">
<td height="47">
1.62 +76 -52 jakarta-tapestry/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-tapestry/build.xml,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- build.xml 15 Jan 2003 20:55:11 -0000 1.61
+++ build.xml 17 Jan 2003 17:39:08 -0000 1.62
@@ -30,6 +30,7 @@
<pathelement location="${lib.ext.dir}/ejb.jar"/>
<pathelement location="${lib.ext.dir}/${jakarta-oro.jar}"/>
<pathelement location="${lib.ext.dir}/${ognl.jar}"/>
+ <pathelement location="${lib.ext.dir}/${bsf.jar}"/>
<pathelement location="config"/>
</path>
@@ -71,6 +72,7 @@
</target>
<target name="install"
+ depends="check-for-jboss-dir"
description="Builds all frameworks and examples.">
<!-- Each project has its own definitions for many properties.
@@ -95,11 +97,13 @@
</target>
<target name="junit"
+ depends="check-for-jython-dir"
description="Run the JUnit test suite for Tapestry.">
<ant dir="junit" target="run" inheritAll="false"/>
</target>
<target name="clover"
+ depends="check-for-clover-dir,check-for-jython-dir"
description="Execute the JUnit tests and generate Code Coverage report.">
<ant dir="junit" target="clover" inheritAll="false"/>
</target>
@@ -394,11 +398,14 @@
<!-- ===================================================================================
- JBoss 3.0.0 auto configuration
+ JBoss 3.0.4 auto configuration
- Configures a JBoss 3.0.0 with a new configuration, tapestry. Part of the configuration
+ Configures a JBoss 3.0.4 with a new configuration, tapestry. Part of the configuration
comes with the Tapestry distribution; part is copied from the JBoss default server
configuration.
+
+ This only works with JBoss 3.0.4; other releases differ enough that this
+ simple script is broken.
==================================================================================== -->
@@ -412,9 +419,9 @@
<property name="jboss.server.default.dir" value="${jboss.dir}/server/default"/>
-<target name="configure"
- description="Configure the JBoss 3.0.0 server and setup the Vlib database.">
- <property name="temp.dir" value=".temp"/>
+<target name="configure"
+ depends="check-for-jboss-dir"
+ description="Configure the JBoss 3.0.4 server and setup the Tapestry database.">
<mkdir dir="${tapestry.lib.dir}"/>
@@ -428,6 +435,9 @@
<exclude name="*tapestry*${framework.version}.jar"/>
<exclude name="${jakarta-oro.jar}"/>
<exclude name="${ognl.jar}"/>
+ <exclude name="${commons-lang.jar}"/>
+ <exclude name="${commons-logging.jar}"/>
+ <exclude name="${bsf.jar}"/>
<!-- Match and include out-of-date versions -->
@@ -436,6 +446,7 @@
<include name="ognl-*.jar"/>
<include name="commons-logging*.jar"/>
<include name="commons-lang*.jar"/>
+ <include name="bsf*.jar"/>
</fileset>
</delete>
@@ -446,6 +457,7 @@
<include name="${ognl.jar}"/>
<include name="${commons-logging.jar}"/>
<include name="${commons-lang.jar}"/>
+ <include name="${bsf.jar}"/>
</fileset>
<fileset dir="${jboss.server.default.dir}/lib">
@@ -473,38 +485,20 @@
<copy todir="${tapestry.deploy.dir}">
<fileset dir="${jboss.server.default.dir}/deploy">
- <include name="*.jar"/>
- <include name="jmx-ejb-connector-server.sar"/>
- <include name="jmx-html-adaptor.sar"/>
- <include name="jmx-rmi-adaptor.sar"/>
- <include name="jboss-local-jdbc.rar"/>
- <include name="jboss-xa.rar"/>
- <include name="jca-service.xml"/>
- <include name="properties-service.xml"/>
+
+ <!-- Skip one file that is replaced -->
+
+ <exclude name="jbossweb.sar/META-INF/jboss-service.xml"/>
+ <include name="*"/>
+ <include name="**/*"/>
</fileset>
</copy>
-
- <!-- We explode the Jetty plugin and copy its individual JARs to lib, plus
- a custom service XML. -->
-
- <mkdir dir="${temp.dir}"/>
- <unjar src="${jboss.server.default.dir}/deploy/jetty-plugin.sar"
- dest="${temp.dir}"/>
- <copy todir="${tapestry.lib.dir}">
- <fileset dir="${temp.dir}">
- <include name="*.jar"/>
- </fileset>
- </copy>
-
- <delete dir="${temp.dir}" quiet="true"/>
<!-- Technically, this isn't necessary any longer (the filtering part),
but it does no harm, and may be needed again in the future. -->
<copy todir="${tapestry.deploy.dir}" filtering="true">
- <fileset dir="config/jboss/deploy">
- <include name="*.xml"/>
- </fileset>
+ <fileset dir="config/jboss/deploy"/>
<filterset>
<filter token="user.dir" value="${user.dir}"/>
<filter token="jboss.dir" value="${jboss.dir}"/>
@@ -515,18 +509,20 @@
<mkdir dir="${tapestry.db.dir}"/>
- <available file="${tapestry.db.dir}/vlib.conf" property="vlib.db.exists"/>
- <antcall target="unpack-vlib-database"/>
+ <available file="${tapestry.db.dir}/tapestry.conf" property="tapestry.db.exists"/>
+ <antcall target="unpack-tapestry-database"/>
</target>
-<target name="unpack-vlib-database"
- description="Unpacks the Virtual Library database."
- unless="vlib.db.exists">
- <unzip src="config/jboss/vlib-db.zip" dest="${tapestry.db.dir}"/>
+<target name="unpack-tapestry-database"
+ description="Unpacks the Tapestry demos database."
+ unless="tapestry.db.exists">
+ <unzip src="config/jboss/tapestry-db.zip" dest="${tapestry.db.dir}"/>
</target>
-<target name="deploy-vlib" description="Deploys the Virtual Library demo into JBoss.">
+<target name="deploy-jboss-demos"
+ depends="check-for-jboss-dir"
+ description="Deploys the demos and Tapestry frameworks into JBoss.">
<copy todir="${tapestry.deploy.dir}">
<fileset dir="${lib.dir}">
<include name="Vlib.ear"/>
@@ -542,10 +538,9 @@
</target>
<target name="run-jboss"
- depends="deploy-vlib"
+ depends="deploy-jboss-demos"
description="Launch the JBoss application server.">
-
-
+
<delete dir="${tapestry.private.dir}" quiet="true"/>
<mkdir dir="${tapestry.private.dir}"/>
@@ -559,6 +554,10 @@
<classpath>
<pathelement location="${jboss.dir}/bin/run.jar"/>
+
+ <!-- Include this so that the JMX control panel (based on JSPs) can work. -->
+
+ <pathelement location="${java.home}/../lib/tools.jar"/>
</classpath>
<!-- Enable debugging -->
@@ -566,13 +565,12 @@
<jvmarg line="-showversion -Xdebug -Xnoagent"/>
<jvmarg line="-Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=20500"/>
-
<sysproperty key="net.sf.tapestry.enable-reset-service" value="true"/>
<sysproperty key="net.sf.tapestry.vlib.debug-enabled" value="true"/>
<!-- These allow private assets to be exported as static
files. This coordinates with portions of
- config/deploy/jetty-service.xml -->
+ config/deploy/jbossweb.sar/META-INF/jboss-service.xml -->
<sysproperty key="net.sf.tapestry.asset.dir" value="${tapestry.private.dir}"/>
<sysproperty key="net.sf.tapestry.asset.URL" value="/private"/>
@@ -592,26 +590,52 @@
<unjar src="src/examples-src.jar" dest="examples"/>
</target>
-<target name="deploy-tomcat" description="Deploys the tutorial application into Tomcat.">
- <unjar src="${tutorial.war}" dest="${tomcat.dir}/webapps/tutorial"/>
+<target name="deploy-tomcat"
+ depends="check-for-tomcat-dir"
+ description="Deploys the tutorial application into Tomcat.">
+ <unjar src="lib/tutorial.war" dest="${tomcat.dir}/webapps/tutorial"/>
<property name="web.lib" value="${tomcat.dir}/webapps/tutorial/WEB-INF/lib"/>
- <copy file="${framework.jar}" todir="${web.lib}"/>
- <copy file="${contrib.jar}" todir="${web.lib}"/>
+ <copy file="lib/net.sf.tapestry-${framework.version}.jar" todir="${web.lib}"/>
+ <copy file="lib/net.sf.tapestry.contrib-${framework.version}.jar" todir="${web.lib}"/>
<copy todir="${web.lib}">
- <fileset dir="${lib.ext.dir}">
+ <fileset dir="lib/ext">
<include name="${commons-lang.jar}"/>
<include name="${commons-logging.jar}"/>
<include name="${jakarta-oro.jar}"/>
<include name="${log4j.jar}"/>
<include name="${ognl.jar}"/>
- <include name="ejb.jar"/>
+ <include name="${bsf.jar}"/>
</fileset>
</copy>
-
- <copy file="config/log4j.properties" todir="${tomcat.dir}/webapps/tutorial/WEB-INF/classes"/>
-
</target>
+<target name="check-for-jboss-dir">
+ <available property="exists.jboss.dir" type="dir" file="${jboss.dir}"/>
+
+ <fail unless="jboss.dir" message="Property jboss.dir not specified in config/build.properties."/>
+ <fail unless="exists.jboss.dir" message="Directory ${jboss.dir} (jboss.dir from config/build.properties) does not exist."/>
+</target>
+
+<target name="check-for-tomcat-dir">
+ <available property="exists.tomcat.dir" type="dir" file="${tomcat.dir}"/>
+
+ <fail unless="tomcat.dir" message="Property tomcat.dir not specified in config/build.properties."/>
+ <fail unless="exists.tomcat.dir" message="Directory ${tomcat.dir} (tomcat.dir from config/build.properties) does not exist."/>
+</target>
+
+<target name="check-for-clover-dir">
+ <available property="exists.clover.dir" type="dir" file="${clover.dir}"/>
+
+ <fail unless="clover.dir" message="Property clover.dir not specified in config/build.properties."/>
+ <fail unless="exists.clover.dir" message="Directory ${clover.dir} (clover.dir from config/build.properties) does not exist."/>
+</target>
+
+<target name="check-for-jython-dir">
+ <available property="exists.jython.dir" type="dir" file="${jython.dir}"/>
+
+ <fail unless="jython.dir" message="Property jython.dir not specified in config/build.properties."/>
+ <fail unless="exists.jython.dir" message="Directory ${jython.dir} (jython.dir from config/build.properties) does not exist."/>
+</target>
</project>
1.21 +1 -0 jakarta-tapestry/.classpath
Index: .classpath
===================================================================
RCS file: /home/cvs/jakarta-tapestry/.classpath,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- .classpath 6 Nov 2002 21:19:07 -0000 1.20
+++ .classpath 17 Jan 2003 17:39:08 -0000 1.21
@@ -26,5 +26,6 @@
<classpathentry kind="var" path="JBOSS_DIR/lib/jboss-common.jar"/>
<classpathentry kind="lib" path="lib/ext/commons-lang-1.0.jar"/>
<classpathentry kind="lib" path="lib/ext/ognl-2.3.0-opt.jar"/>
+ <classpathentry kind="lib" path="lib/ext/bsf-2.3.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
1.2 +35 -0 jakarta-tapestry/TODO.html