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 2005/09/30 17:37:01 UTC

svn commit: r292774 - in /jakarta/tapestry/trunk: ./ config/jboss/data/hypersonic/ examples/ examples/Vlib/src/conf/ examples/Vlib/src/context/WEB-INF/ examples/Vlib/src/ear-conf/META-INF/ examples/VlibBeans/src/descriptor/META-INF/ examples/Workbench/...

Author: hlship
Date: Fri Sep 30 08:36:35 2005
New Revision: 292774

URL: http://svn.apache.org/viewcvs?rev=292774&view=rev
Log:
Rework build to create an seperate Tapestry examples distribution (which will be hosted from a non-ASF host)

Added:
    jakarta/tapestry/trunk/examples/README.txt
    jakarta/tapestry/trunk/examples/build.xml
Modified:
    jakarta/tapestry/trunk/build.xml
    jakarta/tapestry/trunk/config/jboss/data/hypersonic/localDB.script
    jakarta/tapestry/trunk/examples/Vlib/src/conf/jetty.xml
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BookMatches.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Border.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BorrowedBooks.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/ConfirmBookDelete.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditBook.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditProfile.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditPublishers.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditUsers.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/GiveAwayBooks.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/MyLibrary.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/NewBook.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Register.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksSelect.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksTransfer.properties
    jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/vlib.properties
    jakarta/tapestry/trunk/examples/Vlib/src/ear-conf/META-INF/application.xml
    jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml
    jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml
    jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml
    jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/Fields.properties
    jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Change.page
    jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Localization.page
    jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/fields/FieldsResults.java
    jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/tree/examples/fsmodel/FileSystem.java
    jakarta/tapestry/trunk/examples/wap/build.xml
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/Home.page
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/animate.application
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Hello.page
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Home.page
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/hello.application
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Home.page
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Quiz.page
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Scores.page
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/quiz.application
    jakarta/tapestry/trunk/examples/wap/context/WEB-INF/web.xml
    jakarta/tapestry/trunk/examples/wap/jetty.xml
    jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Hello.java
    jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Home.java
    jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Global.java
    jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Home.java
    jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Quiz.java
    jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Scores.java
    jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Visit.java
    jakarta/tapestry/trunk/src/documentation/content/xdocs/examples/index.xml
    jakarta/tapestry/trunk/status.xml

Modified: jakarta/tapestry/trunk/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/build.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/build.xml (original)
+++ jakarta/tapestry/trunk/build.xml Fri Sep 30 08:36:35 2005
@@ -17,101 +17,54 @@
 
 <project name="Jakarta Tapestry Project" default="install">
 
-  <property file="config/build.properties"/>
-  <property file="config/common.properties"/>
-  <property file="project.properties"/>
-
-	<filelist id="project.modules" 
-		dir="."
-		files="
+	<property file="config/build.properties" />
+	<property file="config/common.properties" />
+	<property file="project.properties" />
+
+	<filelist id="project.modules" dir="." files="
 			framework/build.xml 
 			portlet/build.xml 
 			contrib/build.xml 
 			annotations/build.xml 
 			examples/Workbench/build.xml 
 			examples/VlibBeans/build.xml
-			examples/Vlib/build.xml"/>
-    
-	<import file="${hivebuild.dir}/project.xml"/>
-	<import file="${hivebuild.dir}/license-report.xml"/>    
-	<import file="${hivebuild.dir}/dist.xml"/>
-    
-  <target name="run-reports">
-    <license-report/>
-  </target>
-
-  <path id="jetty.classpath">
-    <pathelement location="config"/>
-    <fileset dir="${jetty.dir}">
-        <include name="ext/*.jar"/>
-        <include name="lib/*.jar"/>
-    </fileset>
-  	<fileset dir="ext-package/lib">
-  		<include name="log4j*.jar"/>
- 	</fileset>
-  </path>
-
-  <available property="available.workbench.war" file="target/workbench.war"/>
-  
-	<target name="run-workbench"
-		description="Runs the Tapestry Workbench using Jetty.">
-    
-    <fail unless="available.workbench.war" message="You must run the 'install' target to build workbench.war first."/>
-    
-    <property name="private.dir" value="${target.dir}/private"/>
-    
-		<delete dir="${private.dir}" quiet="true"/>
-		<mkdir dir="${private.dir}"/>
-		<echo>Running Tapestry Workbench on port 8080 ...</echo>
-		<java classname="org.mortbay.jetty.Server" fork="true" maxmemory="384M">
-			<classpath>
-				<path refid="jetty.classpath"/>
-			</classpath>
-			<arg value="config/jetty-workbench.xml"/>
-			<!-- Enable debugging when running the Workbench -->
-			<jvmarg line="-showversion -Xdebug -Xnoagent -XX:+UseParallelGC -XX:PermSize=20M -XX:MaxNewSize=10M -XX:NewSize=10M -Xmx600m -Xms32m"/>
-			<jvmarg
-				line="-Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=20150"
-				/>
-			<!-- Jetty can get easily confused (under NT) unless this is turned off. -->
-			<sysproperty key="org.mortbay.util.FileResource.checkAliases"
-				value="false"/>
-			<sysproperty key="org.apache.tapestry.asset.dir" value="${private.dir}"
-				/>
-			<sysproperty key="org.apache.tapestry.asset.URL" value="/private"/>
-		</java>
+			examples/Vlib/build.xml" />
+
+	<import file="${hivebuild.dir}/project.xml" />
+	<import file="${hivebuild.dir}/license-report.xml" />
+	<import file="${hivebuild.dir}/dist.xml" />
+
+	<target name="run-reports">
+		<license-report />
 	</target>
-	
-	<available property="available.vlib.ear" file="target/vlib/vlib.ear"/>
-	
-	<target name="deploy-jboss" description="Deploys the Virtual Library example into JBoss 4.0.">
+
+	<target name="dist-build">
+		<antcall target="dist.dist-build" />
+		<antcall target="package-examples" />
+	</target>
+
+	<target name="package-examples" description="Packages the deployable examples.">
+
+		<announce message="Creating example files distribution"/>
 		
-		<fail unless="available.vlib.ear" message="You must run the 'install' target to build the vlib.ear first."/>
-		<property name="jboss.default.dir" value="${jboss.dir}/server/default"/>
+		<!-- Package up the examples. -->
 
-		<!-- Overwrite the defaultDB data -->
-		<copy todir="${jboss.default.dir}" overwrite="true">
-			<fileset dir="config/jboss"/>
+		<property name="examples.dir" value="${local.target.dir}/examples" />
+		<mkdir dir="${examples.dir}/config/deploy" />
+		<copy todir="${examples.dir}">
+			<fileset dir="examples" includes="build.xml,README.txt"/>
+			<fileset dir="." includes="LICENSE*.txt,NOTICE.txt"/>
 		</copy>
-		
-		<copy todir="${jboss.default.dir}/deploy">
-			<fileset dir="target/vlib" includes="*.ear"/>
+		<copy todir="${examples.dir}/config/deploy" flatten="true">
+			<fileset dir="${local.target.dir}">
+				<include name="workbench.war"/>
+				<include name="vlib/*.ear"/>
+			</fileset>
 		</copy>
-			
-		<!--
-		<mkdir dir="${jboss.default.dir}/db"/>
-		<unzip dest="${jboss.default.dir}/db" src="config/jboss/tapestry-db.zip"/>
-		-->
-
-		<copy todir="${jboss.default.dir}/deploy">
-			<fileset dir="target" includes="*.ear"/>
+		<copy todir="${examples.dir}/config">
+			<fileset dir="config/jboss"/>
 		</copy>
-		
-		<announce message="JBoss 4.0.2 has been set up to execute the Virtual Library application."/>
-		<announce message="You may need to restart JBoss before the application will run."/>
-		
+		<tar basedir="${examples.dir}" destfile="${local.target.dir}/tapestry-examples-${project.version}.tar.gz" compression="gzip"/>
 	</target>
-	
-	
-  
+
 </project>

Modified: jakarta/tapestry/trunk/config/jboss/data/hypersonic/localDB.script
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/config/jboss/data/hypersonic/localDB.script?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/config/jboss/data/hypersonic/localDB.script (original)
+++ jakarta/tapestry/trunk/config/jboss/data/hypersonic/localDB.script Fri Sep 30 08:36:35 2005
@@ -46,7 +46,7 @@
 INSERT INTO PUBLISHER VALUES(5100,'Vintage Books')
 INSERT INTO PERSON VALUES(1000,'ringbearer@bagend.shire','secret','Frodo','Baggins',FALSE,TRUE,'2005-09-27 17:21:25.0')
 INSERT INTO PERSON VALUES(1001,'squeue@bug.org','secret','Suzy','Queue',FALSE,FALSE,'2005-09-27 18:37:45.688')
-INSERT INTO PERSON VALUES(1002,'dilbert@bigco.com','secret','Dilbert','CubeDweller',FALSE,TRUE,'2005-09-27 17:37:34.896')
+INSERT INTO PERSON VALUES(1002,'dilbert@bigco.com','secret','Dilbert','CubeDweller',FALSE,FALSE,'2005-09-27 17:37:34.896')
 INSERT INTO BOOK VALUES(5001,'Very quick and light introduction to installing and deploying into JBoss.',5000,1002,'0-596-10007-8',1002,'JBoss A Developer''s Notebook','Norman Richards, Sam Griffith, Jr.',FALSE,TRUE,'2005-09-27 16:53:00.44')
 INSERT INTO BOOK VALUES(5051,NULL,5050,1002,'1-59059-511-4',1002,'Pro Hibernate 3','Dave Minter, Jeff Linwood',FALSE,TRUE,'2005-09-27 17:38:10.738')
 INSERT INTO BOOK VALUES(5053,'Dated but still handy reference.',5052,1002,'0-201-74095-8',1002,'Essential XML Quick Reference','Skonnard and Gudgin',FALSE,TRUE,'2005-09-27 17:39:03.604')

Added: jakarta/tapestry/trunk/examples/README.txt
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/README.txt?rev=292774&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/README.txt (added)
+++ jakarta/tapestry/trunk/examples/README.txt Fri Sep 30 08:36:35 2005
@@ -0,0 +1,48 @@
+This package contains pre-compiled demo applications for Tapestry.  Tapestry is a comprehensive web
+application framework for Java and is released under the Apache Software License 2.0.  More details
+about Tapestry are available at the Tapestry home page: http://jakarta.apache.org/tapestry
+
+Because of licensing considerations, these demos are not downloadable from apache.org or any 
+Apache mirror site.
+
+The demos require a FRESH INSTALL of the JBoss application server, version 4.0.2.  
+JBoss is available from http://jboss.org.
+
+The installation will overwrite some configuration files inside JBoss.
+
+The provided Ant build script, build.xml, will copy the necessary files into place.  You will need a
+copy of the Ant build tool, available from http://ant.apache.org.
+
+Execute the command "ant".  You will be asked for the directory into which you installed JBoss.
+On windows systems, this will commonly be C:/jboss-4.0.2.
+
+After a confirmation message, JBoss will be shut down (if running).  If JBoss is not running you will see
+an exception message.
+
+After JBoss is shut down, files are copied to the default JBoss server profile.  You may then restart JBoss
+to access the applications.
+
+Tapestry Workbench 
+	http://localhost:8080/workbench
+	
+	The workbench is a testbed for many common Tapestry components.  The tabs across the top
+	demonstrate different Tapestry features and components, including localization,
+	input validation, exception reporting, and the Palette and Table components.
+	
+
+The Virtual Library
+	http://localhost:8080/vlib
+	
+	The Virtual Library is a small but complete J2EE application. It uses J2EE Entity beans
+	with container managed persistence, and a stateless session facade, with Tapestry on the
+	front end.  The application is used to manage a shared pool of books, tracking who owns
+	and who is currently borrowing each book.
+	
+	Three users are built into the library.  All three use the same password, 'secret':
+	
+		dilbert@bigco.com
+		squeue@bug.org
+		ringbearer@bagend.shire
+		
+		The "ringbearer" user has administrative access.
+	

Modified: jakarta/tapestry/trunk/examples/Vlib/src/conf/jetty.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/conf/jetty.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/conf/jetty.xml (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/conf/jetty.xml Fri Sep 30 08:36:35 2005
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
 <!DOCTYPE Configure PUBLIC
 	"-//Mort Bay Consulting//DTD Configure 1.2//EN"
 	"http://jetty.mortbay.org/configure_1_2.dtd">

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BookMatches.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BookMatches.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BookMatches.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BookMatches.properties Fri Sep 30 08:36:35 2005
@@ -1 +1,15 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 no-matches=No books match your search criteria.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Border.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Border.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Border.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Border.properties Fri Sep 30 08:36:35 2005
@@ -1 +1,15 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 goodbye=You have been logged out.  Click the Login or My Library link to log back in.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BorrowedBooks.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BorrowedBooks.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BorrowedBooks.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/BorrowedBooks.properties Fri Sep 30 08:36:35 2005
@@ -1,2 +1,16 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 returned-book=Returned book ''{0}''.
 unable-to-return-book=Unable to return book: {0}

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/ConfirmBookDelete.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/ConfirmBookDelete.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/ConfirmBookDelete.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/ConfirmBookDelete.properties Fri Sep 30 08:36:35 2005
@@ -1 +1,15 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 book-deleted=Deleted book ''{0}''.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditBook.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditBook.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditBook.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditBook.properties Fri Sep 30 08:36:35 2005
@@ -1,3 +1,17 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 need-publisher-name=You must provide a publisher name if the publisher option is left empty.
 leave-publisher-name-empty=You may not enter a publisher name if you select a publisher from the list.
 updated-book=Updated book ''{0}''.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditProfile.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditProfile.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditProfile.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditProfile.properties Fri Sep 30 08:36:35 2005
@@ -1,2 +1,16 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 enter-password-twice=Enter the new password, then re-enter it to confirm.
 password-must-match=Enter the same password in both fields.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditPublishers.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditPublishers.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditPublishers.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditPublishers.properties Fri Sep 30 08:36:35 2005
@@ -1,3 +1,17 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 out-of-date=The data submitted in the form is out of date.  Please try again.
 read-failure=Unable to read the list of publishers.
 update-failure=Unable to update publishers.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditUsers.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditUsers.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditUsers.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/EditUsers.properties Fri Sep 30 08:36:35 2005
@@ -1,3 +1,17 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 users-updated=Users updated.
 update-failure=Unable to update users.
 read-failure=Unable to read users.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/GiveAwayBooks.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/GiveAwayBooks.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/GiveAwayBooks.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/GiveAwayBooks.properties Fri Sep 30 08:36:35 2005
@@ -1,3 +1,17 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 select-at-least-one-book=You must select at least one book to transfer to {0}.
 update-failure=Unable to transfer book(s).
 read-users-failure=Unable to obtain list of users.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/MyLibrary.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/MyLibrary.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/MyLibrary.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/MyLibrary.properties Fri Sep 30 08:36:35 2005
@@ -1,2 +1,16 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 returned-book=Returned book ''{0}''
 unable-to-return-book=Unable to return book: {0}

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/NewBook.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/NewBook.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/NewBook.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/NewBook.properties Fri Sep 30 08:36:35 2005
@@ -1,3 +1,17 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 need-publisher-name=You must provide a publisher name if the publisher option is left empty.
 leave-publisher-name-empty=You may not enter a publisher name if you select a publisher from the list.
 added-book=Added ''{0}''.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Register.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Register.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Register.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/Register.properties Fri Sep 30 08:36:35 2005
@@ -1 +1,15 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 password-must-match=Enter the same password in both fields.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksSelect.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksSelect.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksSelect.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksSelect.properties Fri Sep 30 08:36:35 2005
@@ -1 +1,15 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 select-different-users=Select two different users.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksTransfer.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksTransfer.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksTransfer.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/TransferBooksTransfer.properties Fri Sep 30 08:36:35 2005
@@ -1,3 +1,17 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 user-has-no-books=User {0} owns no books to transfer.
 no-books-selected=You must select at least one book to transfer.
 transfered-books=Transfered {0} books from {1} to {2}.

Modified: jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/vlib.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/vlib.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/vlib.properties (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/context/WEB-INF/vlib.properties Fri Sep 30 08:36:35 2005
@@ -1,3 +1,17 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 title-label=Title
 author-label=Author
 publisher-label=Publisher

Modified: jakarta/tapestry/trunk/examples/Vlib/src/ear-conf/META-INF/application.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Vlib/src/ear-conf/META-INF/application.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Vlib/src/ear-conf/META-INF/application.xml (original)
+++ jakarta/tapestry/trunk/examples/Vlib/src/ear-conf/META-INF/application.xml Fri Sep 30 08:36:35 2005
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
 <!DOCTYPE application PUBLIC 
   "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" 
   "http://java.sun.com/j2ee/dtds/application_1_2.dtd">

Modified: jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml (original)
+++ jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/ejb-jar.xml Fri Sep 30 08:36:35 2005
@@ -1,4 +1,20 @@
 <?xml version="1.0"?>
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
 <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" 
  "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
 <ejb-jar>

Modified: jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml (original)
+++ jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jboss.xml Fri Sep 30 08:36:35 2005
@@ -1,4 +1,20 @@
 <?xml version="1.0"?>
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
 <jboss>
   <secure>true</secure>
   <resource-managers>

Modified: jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml (original)
+++ jakarta/tapestry/trunk/examples/VlibBeans/src/descriptor/META-INF/jbosscmp-jdbc.xml Fri Sep 30 08:36:35 2005
@@ -1,4 +1,19 @@
 <?xml version="1.0"?>
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
 
   <!DOCTYPE jbosscmp-jdbc PUBLIC
       "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN"

Modified: jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/Fields.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/Fields.properties?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/Fields.properties (original)
+++ jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/Fields.properties Fri Sep 30 08:36:35 2005
@@ -1,3 +1,17 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 zip-code-label=Zip Code
 zip-code-pattern=^\\d{5}(-\\d{4})?$
 zip-code-message=Zip codes are either five or nine digits; 02134 or 90125-1234.

Modified: jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Change.page
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Change.page?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Change.page (original)
+++ jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Change.page Fri Sep 30 08:36:35 2005
@@ -1,19 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-   Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
+
 <!DOCTYPE page-specification PUBLIC 
   "-//Apache Software Foundation//Tapestry Specification 4.0//EN" 
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">

Modified: jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Localization.page
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Localization.page?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Localization.page (original)
+++ jakarta/tapestry/trunk/examples/Workbench/src/context/WEB-INF/localization/Localization.page Fri Sep 30 08:36:35 2005
@@ -1,19 +1,20 @@
 <?xml version="1.0"?>
-<!--
-   Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
+
 <!DOCTYPE page-specification PUBLIC 
   "-//Apache Software Foundation//Tapestry Specification 4.0//EN" 
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">

Modified: jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/fields/FieldsResults.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/fields/FieldsResults.java?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/fields/FieldsResults.java (original)
+++ jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/fields/FieldsResults.java Fri Sep 30 08:36:35 2005
@@ -1,3 +1,17 @@
+// Copyright 2005 The Apache Software Foundation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 package org.apache.tapestry.workbench.fields;
 
 import org.apache.tapestry.html.BasePage;

Modified: jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/tree/examples/fsmodel/FileSystem.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/tree/examples/fsmodel/FileSystem.java?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/tree/examples/fsmodel/FileSystem.java (original)
+++ jakarta/tapestry/trunk/examples/Workbench/src/java/org/apache/tapestry/workbench/tree/examples/fsmodel/FileSystem.java Fri Sep 30 08:36:35 2005
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//         http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,

Added: jakarta/tapestry/trunk/examples/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/build.xml?rev=292774&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/build.xml (added)
+++ jakarta/tapestry/trunk/examples/build.xml Fri Sep 30 08:36:35 2005
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<project name="Tapestry Examples Installer" default="deploy">
+
+	<target name="-jboss-dir" unless="jboss.dir">
+		<echo>Please provide the directory into which you installed JBoss 4.0.2</echo>
+		<echo>On windows systems, it is commonly C:/jboss-4.0.2</echo>
+		<input addproperty="jboss.dir" />
+	</target>
+
+	<target name="-confirm" depends="-jboss-dir">
+		<echo>Installing the Tapestry demos WILL overwrite parts of your JBoss default configuration.</echo>
+		<echo>You should back up your JBoss installation before continuing; better yet, use a fresh</echo>
+		<echo>install just to run these Tapestry demos.</echo>
+		<echo>*** The demos are only guaranteed to run on a clean install of JBoss 4.0.2</echo>
+		<input message="Enter 'continue' to continue" validargs="continue"/>
+	</target>
+		
+	<target name="deploy" depends="-jboss-dir,-confirm">	
+		<property name="jboss.default.dir" value="${jboss.dir}/server/default"/>
+		<available property="jboss.exists" file="${jboss.default.dir}" type="dir"/>
+		<fail unless="jboss.exists" message="Directory ${jboss.default.dir} does not exist."/>
+		<echo>*** Shutting down JBoss</echo>
+		<java fork="true" classname="org.jboss.Shutdown" error="shutdown.log">
+			<arg value="-S"/>
+			<classpath>
+				<fileset dir="${jboss.dir}">
+					<include name="bin/shutdown.jar"/>
+					<include name="client/jbossall-client.jar"/>
+				</fileset>
+			</classpath>
+		</java>
+		<echo>*** Installing Tapestry examples to ${jboss.default.dir}</echo>
+		<copy todir="${jboss.default.dir}" overwrite="true">
+			<fileset dir="config"/>
+		</copy>
+		<echo/>
+		<echo>Examples, database and configuration have been installed.</echo>
+		<echo>You may now restart JBoss.</echo>
+	</target>
+
+</project>
\ No newline at end of file

Modified: jakarta/tapestry/trunk/examples/wap/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/build.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/build.xml (original)
+++ jakarta/tapestry/trunk/examples/wap/build.xml Fri Sep 30 08:36:35 2005
@@ -1,5 +1,20 @@
 <?xml version="1.0"?>
-<!-- $Id$ -->
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
 <project name="Wap Demo" default="install">
 	<property name="root.dir" value="../.."/>
 	<property file="${root.dir}/config/Version.properties"/>

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/Home.page
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/Home.page?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/Home.page (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/Home.page Fri Sep 30 08:36:35 2005
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-   Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<!-- $Id$ -->
+
 <!DOCTYPE page-specification PUBLIC 
   "-//Apache Software Foundation//Tapestry Specification 3.0//EN" 
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/animate.application
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/animate.application?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/animate.application (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/animate/animate.application Fri Sep 30 08:36:35 2005
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<!-- $Id$ -->
+
 <!DOCTYPE application PUBLIC 
   "-//Apache Software Foundation//Tapestry Specification 3.0//EN" 
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Hello.page
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Hello.page?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Hello.page (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Hello.page Fri Sep 30 08:36:35 2005
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-   Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<!-- $Id$ -->
+
 <!DOCTYPE page-specification PUBLIC 
   "-//Apache Software Foundation//Tapestry Specification 3.0//EN" 
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Home.page
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Home.page?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Home.page (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/Home.page Fri Sep 30 08:36:35 2005
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-   Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<!-- $Id$ -->
+
 <!DOCTYPE page-specification PUBLIC 
   "-//Apache Software Foundation//Tapestry Specification 3.0//EN" 
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/hello.application
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/hello.application?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/hello.application (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/hello/hello.application Fri Sep 30 08:36:35 2005
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<!-- $Id$ -->
+
 <!DOCTYPE application PUBLIC 
   "-//Apache Software Foundation//Tapestry Specification 3.0//EN" 
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Home.page
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Home.page?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Home.page (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Home.page Fri Sep 30 08:36:35 2005
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-   Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<!-- $Id$ -->
+
 <!DOCTYPE page-specification PUBLIC
   "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Quiz.page
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Quiz.page?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Quiz.page (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Quiz.page Fri Sep 30 08:36:35 2005
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-   Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<!-- $Id$ -->
+
 <!DOCTYPE page-specification PUBLIC
   "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Scores.page
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Scores.page?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Scores.page (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/Scores.page Fri Sep 30 08:36:35 2005
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-   Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<!-- $Id$ -->
+
 <!DOCTYPE page-specification PUBLIC
   "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/quiz.application
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/quiz.application?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/quiz.application (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/quiz/quiz.application Fri Sep 30 08:36:35 2005
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Copyright 2004 The Apache Software Foundation
-  
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<!-- $Id$ -->
+
 <!DOCTYPE application PUBLIC 
   "-//Apache Software Foundation//Tapestry Specification 3.0//EN" 
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/context/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/context/WEB-INF/web.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/context/WEB-INF/web.xml (original)
+++ jakarta/tapestry/trunk/examples/wap/context/WEB-INF/web.xml Fri Sep 30 08:36:35 2005
@@ -1,5 +1,20 @@
 <?xml version="1.0"?>
-<!--$Id$ -->
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
 <web-app>

Modified: jakarta/tapestry/trunk/examples/wap/jetty.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/jetty.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/jetty.xml (original)
+++ jakarta/tapestry/trunk/examples/wap/jetty.xml Fri Sep 30 08:36:35 2005
@@ -1,5 +1,20 @@
 <?xml version="1.0"  encoding="ISO-8859-1"?> 
-<!-- $Id$ -->
+<!-- 
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
 <!DOCTYPE Configure PUBLIC
 	"-//Mort Bay Consulting//DTD Configure 1.2//EN"
 	"http://jetty.mortbay.org/configure_1_2.dtd">

Modified: jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Hello.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Hello.java?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Hello.java (original)
+++ jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Hello.java Fri Sep 30 08:36:35 2005
@@ -1,4 +1,4 @@
-//  Copyright 2004 The Apache Software Foundation
+// Copyright 2004, 2005 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.

Modified: jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Home.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Home.java?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Home.java (original)
+++ jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/hello/Home.java Fri Sep 30 08:36:35 2005
@@ -1,4 +1,4 @@
-//  Copyright 2004 The Apache Software Foundation
+// Copyright 2004, 2005 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.

Modified: jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Global.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Global.java?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Global.java (original)
+++ jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Global.java Fri Sep 30 08:36:35 2005
@@ -1,4 +1,4 @@
-//  Copyright 2004 The Apache Software Foundation
+// Copyright 2004, 2005 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.

Modified: jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Home.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Home.java?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Home.java (original)
+++ jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Home.java Fri Sep 30 08:36:35 2005
@@ -1,4 +1,4 @@
-//  Copyright 2004 The Apache Software Foundation
+// Copyright 2004, 2005 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.

Modified: jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Quiz.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Quiz.java?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Quiz.java (original)
+++ jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Quiz.java Fri Sep 30 08:36:35 2005
@@ -1,4 +1,4 @@
-//  Copyright 2004 The Apache Software Foundation
+// Copyright 2004, 2005 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.

Modified: jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Scores.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Scores.java?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Scores.java (original)
+++ jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Scores.java Fri Sep 30 08:36:35 2005
@@ -1,4 +1,4 @@
-//  Copyright 2004 The Apache Software Foundation
+// Copyright 2004, 2005 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.

Modified: jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Visit.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Visit.java?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Visit.java (original)
+++ jakarta/tapestry/trunk/examples/wap/src/org/apache/tapestry/wap/quiz/Visit.java Fri Sep 30 08:36:35 2005
@@ -1,4 +1,4 @@
-//  Copyright 2004 The Apache Software Foundation
+// Copyright 2004, 2005 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.

Modified: jakarta/tapestry/trunk/src/documentation/content/xdocs/examples/index.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/src/documentation/content/xdocs/examples/index.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/src/documentation/content/xdocs/examples/index.xml (original)
+++ jakarta/tapestry/trunk/src/documentation/content/xdocs/examples/index.xml Fri Sep 30 08:36:35 2005
@@ -25,16 +25,96 @@
   <header>
     <title>Tapestry Examples</title>
   </header>
+  <body>
+    <p> Tapestry's main distribution includes the Tapestry JAR files plus all source code for Tapestry, the Tapestry
+      documentation, and Tapestry examples. </p>
+    <p> Because of licensing concerns, JAR dependencies (such as Javassist) and example applications are not distributed
+      with Tapestry itself. As an Apache Software Foundation project, the Tapestry distributions <em>must</em> be
+      limited to just software directly provided by the ASF; nothing from outside the ASF is allowed. </p>
+    <p> If you like, you can easily (?) build Tapestry, including the examples, from source. The necessary dependencies
+      are automatically downloaded by Ant build scripts, but it takes some elbow grease to set up. Details at <link
+        href="http://wiki.apache.org/jakarta-tapestry/BuildingTapestry">the Wiki</link>. </p>
+    <p>
+      <strong>But wouldn't it be nice to just get the compiled examples, ready to take for a spin? </strong> We think
+      so, so we now provide the examples, precompiled, packaged, and ready to go, as a seperate distribution, from a 
+      non-ASF server. </p>
+    <p> These examples are available at <link href="http://howardlewisship.com/downloads/quick-start/"
+        >http://howardlewisship.com/downloads/quick-start/</link>
+        as
+        <code>tapestry-examples-</code><em>version</em><code>.tar.gz</code>.
+    </p>
+    <p> They require <link href="http://jboss.org/">JBoss 4.0.2</link>. Yes, we know there are several other open-source
+      application servers out there, but it was easiest to pick one easy download to make the installation scripts
+      turn-key. </p>
+      
+    <section>
+      <title>Installation</title>
+      
+      <p>
+        Unpack the examples to a temporary directory.
+      </p>
+      
+      <p>
+        From that directory, execute Ant.  You will be prompted for the directory into which
+        you installed JBoss.
+      </p>
+      
+      <source><![CDATA[bash-3.00$ ant
+Buildfile: build.xml
 
-<body>
+-jboss-dir:
+     [echo] Please provide the directory into which you installed JBoss 4.0.2
+     [echo] On windows systems, it is commonly C:/jboss-4.0.2
 
-<p>
-Coming soon ... instructions on how to setup your environment to build Tapestry and deploy the Workbench and Virtual Library applications.
-</p>
-
-<p>
-  Better yet; soon to come ... where to <em>download</em> the pre-compiled applications from, so that they can be deployed.
-</p>
+c:/jboss-4.0.2
 
-</body>
-</document>
\ No newline at end of file
+-confirm:
+     [echo] Installing the Tapestry demos WILL overwrite parts of your JBoss default configuration.
+     [echo] You should back up your JBoss installation before continuing; better yet, use a fresh
+     [echo] install just to run these Tapestry demos.
+     [echo] *** The demos are only guaranteed to run on a clean install of JBoss 4.0.2
+    [input] Enter 'continue' to continue(continue)
+continue
+
+deploy:
+     [echo] *** Shutting down JBoss
+     [java] Shutdown message has been posted to the server.
+     [java] Server shutdown may take a while - check logfiles for completion
+     [echo] *** Installing Tapestry examples to c:/jboss-4.0.2/server/default
+     [copy] Copying 4 files to C:\jboss-4.0.2\server\default
+
+     [echo] Examples, database and configuration have been installed.
+     [echo] You may now restart JBoss.
+
+BUILD SUCCESSFUL
+Total time: 12 seconds
+bash-3.00$]]></source>      
+    </section>
+      
+    <section>
+      <title>Workbench</title>
+      <p>
+        <link href="http://localhost:8080/workbench/">http://localhost:8080/workbench/</link>
+      </p>
+      <p> The workbench is a testbed for many common Tapestry components. The tabs across the top demonstrate different
+        Tapestry features and components, including localization, input validation, exception reporting, and the Palette
+        and Table components. </p>
+    </section>
+    <section>
+      <title>Virtual Library</title>
+      <p>
+        <link href="http://localhost:8080/vlib/">http://localhost:8080/vlib/</link>
+      </p>
+      <p> The Virtual Library is a small but complete J2EE application. It uses J2EE Entity beans with container managed
+        persistence, and a stateless session facade, with Tapestry on the front end. The application is used to manage a
+        shared pool of books, tracking who owns and who is currently borrowing each book. </p>
+      <p> Three users are built into the library. All three use the same password, "secret":</p>
+      <ul>
+        <li>dilbert@bigco.com</li>
+        <li>squeue@bug.org</li>
+        <li>ringbearer@bagend.shire</li>
+      </ul>
+      <p> The "ringbearer" user has administrative access. </p>
+    </section>
+  </body>
+</document>

Modified: jakarta/tapestry/trunk/status.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/status.xml?rev=292774&r1=292773&r2=292774&view=diff
==============================================================================
--- jakarta/tapestry/trunk/status.xml (original)
+++ jakarta/tapestry/trunk/status.xml Fri Sep 30 08:36:35 2005
@@ -57,6 +57,7 @@
       <action type="fix" dev="HLS" fixes-bug="TAPESTRY-676">Tapestry Inspector can throw an exception on the properties page, if a property is an array containing nulls</action>
       <action type="fix" dev="HLS" fixes-bug="TAPESTRY-680">Need an injection type comparable to the state: binding prefix</action>
       <action type="update" dev="HLS">Re-organize Tapestry project site navigation to be more consistent</action>
+      <action type="update" dev="HLS">Rework build to create an seperate Tapestry examples distribution (which will be hosted from a non-ASF host)</action>
     </release>
     <release version="4.0-beta-8" date="Sep 24 2005">
       <action type="fix" dev="DS" fixes-bug="TAPESTRY-465">Document Foreach component</action>



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org