From 888114a9b83bee1a7d57e5f074d7e85babc95125 Mon Sep 17 00:00:00 2001 From: Tomas Remes Date: Tue, 1 Nov 2011 12:41:43 +0100 Subject: [PATCH] SEAMVALIDATE-16 --- .../{ => examples/helloworld}/HelloWorldService.java | 4 +++- .../{ => examples/helloworld}/HelloWorldServlet.java | 2 +- examples/helloworld/src/main/webapp-jee/WEB-INF/web.xml | 2 +- examples/helloworld/src/main/webapp-jetty/WEB-INF/web.xml | 2 +- .../validation/{ => examples/helloworld}/JettyRunner.java | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) rename examples/helloworld/src/main/java/org/jboss/seam/validation/{ => examples/helloworld}/HelloWorldService.java (91%) rename examples/helloworld/src/main/java/org/jboss/seam/validation/{ => examples/helloworld}/HelloWorldServlet.java (98%) rename examples/helloworld/src/test/java/org/jboss/seam/validation/{ => examples/helloworld}/JettyRunner.java (97%) diff --git a/examples/helloworld/src/main/java/org/jboss/seam/validation/HelloWorldService.java b/examples/helloworld/src/main/java/org/jboss/seam/validation/examples/helloworld/HelloWorldService.java similarity index 91% rename from examples/helloworld/src/main/java/org/jboss/seam/validation/HelloWorldService.java rename to examples/helloworld/src/main/java/org/jboss/seam/validation/examples/helloworld/HelloWorldService.java index 214c7af..052f895 100644 --- a/examples/helloworld/src/main/java/org/jboss/seam/validation/HelloWorldService.java +++ b/examples/helloworld/src/main/java/org/jboss/seam/validation/examples/helloworld/HelloWorldService.java @@ -17,12 +17,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.jboss.seam.validation; +package org.jboss.seam.validation.examples.helloworld; import javax.enterprise.context.ApplicationScoped; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; +import org.jboss.seam.validation.AutoValidating; + @ApplicationScoped @AutoValidating public class HelloWorldService { diff --git a/examples/helloworld/src/main/java/org/jboss/seam/validation/HelloWorldServlet.java b/examples/helloworld/src/main/java/org/jboss/seam/validation/examples/helloworld/HelloWorldServlet.java similarity index 98% rename from examples/helloworld/src/main/java/org/jboss/seam/validation/HelloWorldServlet.java rename to examples/helloworld/src/main/java/org/jboss/seam/validation/examples/helloworld/HelloWorldServlet.java index 9623755..22fe849 100644 --- a/examples/helloworld/src/main/java/org/jboss/seam/validation/HelloWorldServlet.java +++ b/examples/helloworld/src/main/java/org/jboss/seam/validation/examples/helloworld/HelloWorldServlet.java @@ -17,7 +17,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.jboss.seam.validation; +package org.jboss.seam.validation.examples.helloworld; import java.io.IOException; diff --git a/examples/helloworld/src/main/webapp-jee/WEB-INF/web.xml b/examples/helloworld/src/main/webapp-jee/WEB-INF/web.xml index a88f37a..1e7d7a9 100644 --- a/examples/helloworld/src/main/webapp-jee/WEB-INF/web.xml +++ b/examples/helloworld/src/main/webapp-jee/WEB-INF/web.xml @@ -27,7 +27,7 @@ Seam Validation Example Servlet - org.jboss.seam.validation.HelloWorldServlet + org.jboss.seam.validation.examples.helloworld.HelloWorldServlet 1 diff --git a/examples/helloworld/src/main/webapp-jetty/WEB-INF/web.xml b/examples/helloworld/src/main/webapp-jetty/WEB-INF/web.xml index 04e3684..a6193ef 100644 --- a/examples/helloworld/src/main/webapp-jetty/WEB-INF/web.xml +++ b/examples/helloworld/src/main/webapp-jetty/WEB-INF/web.xml @@ -31,7 +31,7 @@ Seam Validation Example Servlet - org.jboss.seam.validation.HelloWorldServlet + org.jboss.seam.validation.examples.helloworld.HelloWorldServlet 1 diff --git a/examples/helloworld/src/test/java/org/jboss/seam/validation/JettyRunner.java b/examples/helloworld/src/test/java/org/jboss/seam/validation/examples/helloworld/JettyRunner.java similarity index 97% rename from examples/helloworld/src/test/java/org/jboss/seam/validation/JettyRunner.java rename to examples/helloworld/src/test/java/org/jboss/seam/validation/examples/helloworld/JettyRunner.java index 045b213..b238b31 100644 --- a/examples/helloworld/src/test/java/org/jboss/seam/validation/JettyRunner.java +++ b/examples/helloworld/src/test/java/org/jboss/seam/validation/examples/helloworld/JettyRunner.java @@ -17,7 +17,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.jboss.seam.validation; +package org.jboss.seam.validation.examples.helloworld; import org.mortbay.jetty.Connector; import org.mortbay.jetty.Server;