Author: hlship
Date: Sat Apr 22 13:51:49 2006
New Revision: 396162
URL: http://svn.apache.org/viewcvs?rev=396162&view=rev
Log:
Reorganize project to support AspectJ
Added:
tapestry/tapestry5/tapestry-core/trunk/build.ajproperties
tapestry/tapestry5/tapestry-core/trunk/src/main/aspect/
tapestry/tapestry5/tapestry-core/trunk/src/main/aspect/org/
tapestry/tapestry5/tapestry-core/trunk/src/main/aspect/org/apache/
tapestry/tapestry5/tapestry-core/trunk/src/main/aspect/org/apache/tapestry/
tapestry/tapestry5/tapestry-core/trunk/src/main/aspect/org/apache/tapestry/internal/
tapestry/tapestry5/tapestry-core/trunk/src/main/aspect/org/apache/tapestry/internal/aspects/
tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/annotations/
tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/annotations/Utility.java
Removed:
tapestry/tapestry5/tapestry-core/trunk/.wtpmodules
Modified:
tapestry/tapestry5/tapestry-core/trunk/ (props changed)
tapestry/tapestry5/tapestry-core/trunk/.classpath
tapestry/tapestry5/tapestry-core/trunk/.project
Propchange: tapestry/tapestry5/tapestry-core/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sat Apr 22 13:51:49 2006
@@ -1,2 +1,3 @@
target
+bin
Modified: tapestry/tapestry5/tapestry-core/trunk/.classpath
URL:
http://svn.apache.org/viewcvs/tapestry/tapestry5/tapestry-core/trunk/.classpath?rev=396162&r1=396161&r2=396162&view=diff
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/.classpath (original)
+++ tapestry/tapestry5/tapestry-core/trunk/.classpath Sat Apr 22 13:51:49 2006
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
- <classpathentry output="target/test-classes" kind="src"
path="src/test/java"/>
- <classpathentry output="target/test-classes" kind="src"
path="src/test/resources"/>
+ <classpathentry kind="src" path="src/main/aspect"/>
+ <classpathentry kind="lib" path="src/main/resources"/>
+ <classpathentry kind="src" path="src/test/java"/>
+ <classpathentry kind="lib" path="src/test/resources"/>
+ <classpathentry kind="lib" path="src/test/conf"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="var"
path="M2_REPO/org/testng/testng/4.4.7/testng-4.4.7-jdk15.jar"/>
<classpathentry
sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar"
kind="var"
path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/>
@@ -11,6 +14,6 @@
<classpathentry kind="var"
path="M2_REPO/javassist/javassist/3.1/javassist-3.1.jar"/>
<classpathentry kind="var" path="M2_REPO/bsh/bsh/2.0b1/bsh-2.0b1.jar"/>
<classpathentry kind="var"
path="M2_REPO/hivemind/hivemind/1.1.1/hivemind-1.1.1.jar"/>
- <classpathentry kind="lib" path="src/main/resources"/>
- <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="var" path="ASPECTJRT_LIB"/>
+ <classpathentry kind="output" path="bin"/>
</classpath>
Modified: tapestry/tapestry5/tapestry-core/trunk/.project
URL:
http://svn.apache.org/viewcvs/tapestry/tapestry5/tapestry-core/trunk/.project?rev=396162&r1=396161&r2=396162&view=diff
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/.project (original)
+++ tapestry/tapestry5/tapestry-core/trunk/.project Sat Apr 22 13:51:49 2006
@@ -1,28 +1,18 @@
-<projectDescription>
- <name>tapestry-core</name>
- <comment/>
- <projects/>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments/>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.common.modulecore.ComponentStructuralBuilder</name>
- <arguments/>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.validation.validationbuilder</name>
- <arguments/>
- </buildCommand>
- <buildCommand>
-
<name>org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver</name>
- <arguments/>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
- <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>tapestry-core</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.ajdt.core.ajbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.ajdt.ui.ajnature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: tapestry/tapestry5/tapestry-core/trunk/build.ajproperties
URL:
http://svn.apache.org/viewcvs/tapestry/tapestry5/tapestry-core/trunk/build.ajproperties?rev=396162&view=auto
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/build.ajproperties (added)
+++ tapestry/tapestry5/tapestry-core/trunk/build.ajproperties Sat Apr 22
13:51:49 2006
@@ -0,0 +1,3 @@
+src.includes = src/main/java/,\
+ src/main/aspect/,\
+ src/test/java/
Added:
tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/annotations/Utility.java
URL:
http://svn.apache.org/viewcvs/tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/annotations/Utility.java?rev=396162&view=auto
==============================================================================
---
tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/annotations/Utility.java
(added)
+++
tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/annotations/Utility.java
Sat Apr 22 13:51:49 2006
@@ -0,0 +1,22 @@
+package org.apache.tapestry.internal.annotations;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+/**
+ * A utility class is a class that is final and contains only static methods.
This annotation
+ * triggers an aspect that ensures that only static methods are present, makes
the class final, adds
+ * a private constructor (to prevent instantiation), and removes any public
constructor.
+ *
+ * @author Howard M. Lewis Ship
+ */
[EMAIL PROTECTED](TYPE)
[EMAIL PROTECTED](RUNTIME)
[EMAIL PROTECTED]
+public @interface Utility {
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]