Author: hlship
Date: Sat Sep 15 16:38:41 2007
New Revision: 576001
URL: http://svn.apache.org/viewvc?rev=576001&view=rev
Log:
TAPESTRY-1750: Separate out Tapestry annotations for use in other tiers
(without dragging in all of Tapestry)
Added:
tapestry/tapestry5/trunk/tapestry-annotations/ (with props)
tapestry/tapestry5/trunk/tapestry-annotations/LICENSE-2.0.txt
tapestry/tapestry5/trunk/tapestry-annotations/NOTICE.txt
tapestry/tapestry5/trunk/tapestry-annotations/pom.xml
tapestry/tapestry5/trunk/tapestry-annotations/src/
tapestry/tapestry5/trunk/tapestry-annotations/src/main/
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/NonVisual.java
- copied unchanged from r573901,
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/NonVisual.java
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/OrderAfter.java
- copied unchanged from r574136,
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/OrderAfter.java
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/OrderBefore.java
- copied unchanged from r574118,
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/OrderBefore.java
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/RelativePosition.java
- copied unchanged from r574136,
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/RelativePosition.java
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/Validate.java
- copied, changed from r573901,
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/Validate.java
tapestry/tapestry5/trunk/tapestry-annotations/src/site/
tapestry/tapestry5/trunk/tapestry-annotations/src/site/apt/
tapestry/tapestry5/trunk/tapestry-annotations/src/site/apt/index.apt
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/css/
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/css/site.css
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/images/
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/images/asf_logo_wide.gif
(with props)
tapestry/tapestry5/trunk/tapestry-annotations/src/site/site.xml
Removed:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/NonVisual.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/OrderAfter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/OrderBefore.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/RelativePosition.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/Validate.java
Modified:
tapestry/tapestry5/trunk/.classpath
tapestry/tapestry5/trunk/pom.xml
tapestry/tapestry5/trunk/src/site/apt/index.apt
tapestry/tapestry5/trunk/src/site/site.xml
tapestry/tapestry5/trunk/support/update-eclipse
tapestry/tapestry5/trunk/tapestry-core/pom.xml
tapestry/tapestry5/trunk/tapestry-core/src/site/apt/index.apt
Modified: tapestry/tapestry5/trunk/.classpath
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/.classpath?rev=576001&r1=576000&r2=576001&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/.classpath (original)
+++ tapestry/tapestry5/trunk/.classpath Sat Sep 15 16:38:41 2007
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
+ <classpathentry kind="src" output="bin"
path="tapestry-annotations/src/main/java"/>
<classpathentry kind="src" output="bin"
path="tapestry-component-report/src/main/java"/>
<classpathentry kind="src" output="bin" path="tapestry-core/src/main/java"/>
<classpathentry kind="src" output="bin-test"
path="tapestry-core/src/test/java"/>
Modified: tapestry/tapestry5/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/pom.xml?rev=576001&r1=576000&r2=576001&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/pom.xml (original)
+++ tapestry/tapestry5/trunk/pom.xml Sat Sep 15 16:38:41 2007
@@ -7,6 +7,9 @@
<packaging>pom</packaging>
<version>5.0.6-SNAPSHOT</version>
<name>Tapestry 5 Project</name>
+ <description>
+ Master project for the modules of Tapestry 5.
+ </description>
<inceptionYear>2006</inceptionYear>
<url>http://tapestry.apache.org/tapestry5/</url>
<issueManagement>
@@ -88,6 +91,7 @@
<modules>
<module>tapestry-test</module>
<module>tapestry-ioc</module>
+ <module>tapestry-annotations</module>
<module>tapestry-core</module>
@@ -264,6 +268,15 @@
</profiles>
<reporting>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <aggregate>true</aggregate>
+ <maxmemory>600m</maxmemory>
+ <splitindex>true</splitindex>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
Modified: tapestry/tapestry5/trunk/src/site/apt/index.apt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/apt/index.apt?rev=576001&r1=576000&r2=576001&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/apt/index.apt (original)
+++ tapestry/tapestry5/trunk/src/site/apt/index.apt Sat Sep 15 16:38:41 2007
@@ -37,6 +37,8 @@
You are currently reading the Tapestry 5 project site. Tapestry itself is
broken into several modules:
*---+---+
+| {{{tapestry-annotations/index.html}tapestry-annotations}} | A few Tapestry
annotations that may be used with non-component classes. |
+*---+---+
| {{{tapestry-core/index.html}tapestry-core}} | The core implementation of the
Tapestry framework, including all the primary built-in components. |
*---+---+
| {{{tapestry-hibernate/index.html}tapestry-hibernate}} | Integration with
the {{{http://hibernate.org}Hibernate}} Object/Relational Mapping framework. |
@@ -65,6 +67,10 @@
* Final release, Fall 2007.
+
+ * ... and if you've been paying attention, you might notice that things
have slipped a bit due to the realities of working on a client project
+ that doesn't use Tapestry (it isn't a web application).
+
[]
Modified: tapestry/tapestry5/trunk/src/site/site.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/site.xml?rev=576001&r1=576000&r2=576001&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/trunk/src/site/site.xml Sat Sep 15 16:38:41 2007
@@ -48,12 +48,13 @@
</menu>
<menu name="Tapestry 5 Modules">
+ <item name="tapestry-annotations" href="tapestry-annotations/"/>
<item name="tapestry-core" href="tapestry-core/"/>
<item name="tapestry-hibernate" href="tapestry-hibernate/"/>
- <item name="tapestry-ioc" href="tapestry-ioc"/>
- <item name="tapestry-spring" href="tapestry-spring"/>
+ <item name="tapestry-ioc" href="tapestry-ioc/"/>
+ <item name="tapestry-spring" href="tapestry-spring/"/>
<item name="tapestry-test" href="tapestry-test/"/>
- <item name="tapestry-upload" href="tapestry-upload"/>
+ <item name="tapestry-upload" href="tapestry-upload/"/>
</menu>
<menu name="Tapestry Tutorials">
Modified: tapestry/tapestry5/trunk/support/update-eclipse
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/support/update-eclipse?rev=576001&r1=576000&r2=576001&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/support/update-eclipse (original)
+++ tapestry/tapestry5/trunk/support/update-eclipse Sat Sep 15 16:38:41 2007
@@ -3,17 +3,16 @@
# This script is used to update the Eclipse .classpath file for the master
project; it is used when
# a module is added or removed, or when a src folder is added or removed from
a module.
#
-# It assumes the layout of each module conforms to Datatech's normal layout:
-# - src
-# - test
-# - resources
-# - test-resources
+# It assumes the layout of each module conforms to Maven's default layout:
+# - src/main/java
+# - src/test/java
+# - test/main/resources
+# - src/test/resources
#
# This script must be executed from the root project directory (the directory
containing the master pom.xml, and containing
# the directories for the modules).
# TODO: Update the .classpath in each module
-# TODO: Generated IDEA control files as well
require 'optparse'
Propchange: tapestry/tapestry5/trunk/tapestry-annotations/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Sep 15 16:38:41 2007
@@ -0,0 +1 @@
+target
Added: tapestry/tapestry5/trunk/tapestry-annotations/LICENSE-2.0.txt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-annotations/LICENSE-2.0.txt?rev=576001&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-annotations/LICENSE-2.0.txt (added)
+++ tapestry/tapestry5/trunk/tapestry-annotations/LICENSE-2.0.txt Sat Sep 15
16:38:41 2007
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ 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.
Added: tapestry/tapestry5/trunk/tapestry-annotations/NOTICE.txt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-annotations/NOTICE.txt?rev=576001&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-annotations/NOTICE.txt (added)
+++ tapestry/tapestry5/trunk/tapestry-annotations/NOTICE.txt Sat Sep 15
16:38:41 2007
@@ -0,0 +1,5 @@
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+Please refer to the NOTICE.txt for each sub-module to
+identify further dependencies.
Added: tapestry/tapestry5/trunk/tapestry-annotations/pom.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-annotations/pom.xml?rev=576001&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-annotations/pom.xml (added)
+++ tapestry/tapestry5/trunk/tapestry-annotations/pom.xml Sat Sep 15 16:38:41
2007
@@ -0,0 +1,48 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.tapestry</groupId>
+ <artifactId>tapestry-annotations</artifactId>
+ <packaging>jar</packaging>
+ <!-- This should change to tapestry-project -->
+ <parent>
+ <groupId>org.apache.tapestry</groupId>
+ <artifactId>tapestry-project</artifactId>
+ <version>5.0.6-SNAPSHOT</version>
+ </parent>
+ <name>Tapestry Annotations</name>
+ <description>
+ Annotations used with Tapestry applications.
+ </description>
+ <inceptionYear>2007</inceptionYear>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>summary</report>
+ <report>dependencies</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
Copied:
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/Validate.java
(from r573901,
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/Validate.java)
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/Validate.java?p2=tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/Validate.java&p1=tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/Validate.java&r1=573901&r2=576001&rev=576001&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/beaneditor/Validate.java
(original)
+++
tapestry/tapestry5/trunk/tapestry-annotations/src/main/java/org/apache/tapestry/beaneditor/Validate.java
Sat Sep 15 16:38:41 2007
@@ -23,9 +23,9 @@
/**
* Used to attach validation constraints directly to a property (either the
getter or the setter
- * method). The annotation value is a comma seperated list of <em>validation
constraints</em>,
+ * method). The annotation value is a comma separated list of <em>validation
constraints</em>,
* each one identifying a validator type (such as "required", "minlength") and
optionally, a
- * constraint value. Most validators need a constraint value, which is
seperated from the type by an
+ * constraint value. Most validators need a constraint value, which is
separated from the type by an
* equals size (i.e., "maxlength=30").
*/
@Target(METHOD)
Added: tapestry/tapestry5/trunk/tapestry-annotations/src/site/apt/index.apt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-annotations/src/site/apt/index.apt?rev=576001&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-annotations/src/site/apt/index.apt (added)
+++ tapestry/tapestry5/trunk/tapestry-annotations/src/site/apt/index.apt Sat
Sep 15 16:38:41 2007
@@ -0,0 +1,16 @@
+ ----
+ Tapestry Annotations
+ ----
+
+Tapestry Annotations
+
+ The majority of Tapestry annotations (defined in the
{{{.../tapestry-core}tapestry-core}} and {{{.../tapestry-ioc}tapestry-ioc}}
modules)
+ are very specific to Tapestry components or Tapestry IoC services.
+
+ A small number of annotations are intended for data holding classes that are
not Tapestry components; these annotations
+ allow high-level components such as Grid and BeanEditForm to
+ create powerful user interfaces with out any additional coding.
+
+ By separating out those annotations from the rest of Tapestry, it is
reasonable to includes such annotations inside your
+ data tier classes <without> having to bring all of Tapestry into your
classpath. This is very useful in multi-tier applications
+ where data objects may originate in an application tier (such as a JEE
application server) and travel to the presentation tier (a Tapestry
application).
\ No newline at end of file
Added:
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/css/site.css
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/css/site.css?rev=576001&view=auto
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/css/site.css
(added)
+++
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/css/site.css
Sat Sep 15 16:38:41 2007
@@ -0,0 +1,40 @@
+a.externalLink, a.externalLink:link, a.externalLink:visited,
a.externalLink:active, a.externalLink:hover {
+ background: none;
+ padding-right: 0;
+}
+
+body ul {
+ list-style-type: square;
+}
+
+#downloadbox {
+ float: right;
+ margin: 0 1em 2em 2em;
+ padding: 1em;
+ border: 1px solid #999;
+ background-color: #eee;
+}
+
+#downloadbox h5 {
+ color: #000;
+ margin: 0;
+ border-bottom: 1px solid #aaaaaa;
+ font-size: smaller;
+ padding: 0;
+}
+
+#downloadbox p {
+ margin-top: 1em;
+ margin-bottom: 0;
+}
+
+#downloadbox ul {
+ margin-top: 0;
+ margin-bottom: 1em;
+ list-style-type: disc;
+}
+
+#downloadbox li {
+ font-size: smaller;
+}
+
Added:
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/images/asf_logo_wide.gif
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/images/asf_logo_wide.gif?rev=576001&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
tapestry/tapestry5/trunk/tapestry-annotations/src/site/resources/images/asf_logo_wide.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: tapestry/tapestry5/trunk/tapestry-annotations/src/site/site.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-annotations/src/site/site.xml?rev=576001&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-annotations/src/site/site.xml (added)
+++ tapestry/tapestry5/trunk/tapestry-annotations/src/site/site.xml Sat Sep 15
16:38:41 2007
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Copyright 2006 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 Annotations">
+ <bannerLeft>
+ <name>Tapestry 5</name>
+ <href>http://tapestry.apache.org/tapestry5/</href>
+ <src>images/tapestry_banner.gif</src>
+ </bannerLeft>
+ <bannerRight>
+ <name>Apache</name>
+ <href>http://www.apache.org</href>
+ <src>images/asf_logo_wide.gif</src>
+ </bannerRight>
+ <skin>
+ <groupId>org.apache.tapestry</groupId>
+ <artifactId>maven-skin</artifactId>
+ <version>1.1</version>
+ </skin>
+
+ <publishDate format="dd MMM yyyy" />
+
+ <body>
+ <links>
+ <item name="Apache" href="http://www.apache.org/" />
+ </links>
+
+ <menu ref="reports"/>
+
+ </body>
+</project>
Modified: tapestry/tapestry5/trunk/tapestry-core/pom.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/pom.xml?rev=576001&r1=576000&r2=576001&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/pom.xml (original)
+++ tapestry/tapestry5/trunk/tapestry-core/pom.xml Sat Sep 15 16:38:41 2007
@@ -24,6 +24,11 @@
</dependency>
<dependency>
<groupId>org.apache.tapestry</groupId>
+ <artifactId>tapestry-annotations</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tapestry</groupId>
<artifactId>tapestry-test</artifactId>
<!-- This would be test, but we provide a few base classes that depend
on TestNG, which is provided by tapestry-test. -->
<scope>provided</scope>
Modified: tapestry/tapestry5/trunk/tapestry-core/src/site/apt/index.apt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/site/apt/index.apt?rev=576001&r1=576000&r2=576001&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/site/apt/index.apt (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/site/apt/index.apt Sat Sep 15
16:38:41 2007
@@ -13,6 +13,9 @@
Progress on Tapestry 5 is really taking off. This space lists some cool new
features that have been added
recently.
+ * Some of the annotations that aren't used specifically with component
classes have been split off into the new
+ {{{../tapestry-annotations/}tapestry-annotations}} module.
+
* Validator constraint values may now be specified in the component message
catalog, rather than in the @Validation annotation (or validation compnent
parameter).
* A new validator, regexp, has been added.