[jboss-cvs] JBossAS SVN: r74181 - in projects/ejb3/tags: jboss-ejb3-async-0.1.1 and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jun 5 17:42:05 EDT 2008
Author: ALRubinger
Date: 2008-06-05 17:42:05 -0400 (Thu, 05 Jun 2008)
New Revision: 74181
Added:
projects/ejb3/tags/jboss-ejb3-async-0.1.1/
projects/ejb3/tags/jboss-ejb3-async-0.1.1/pom.xml
projects/ejb3/tags/jboss-ejb3-async-0.1.1/src/test/java/org/jboss/test/asynch/AsynchTestCaseNotImplemented.java
Removed:
projects/ejb3/tags/jboss-ejb3-async-0.1.1/pom.xml
projects/ejb3/tags/jboss-ejb3-async-0.1.1/src/test/java/org/jboss/test/asynch/AsynchTestCase.java
Log:
[maven-release-plugin] copy for tag jboss-ejb3-async-0.1.1
Copied: projects/ejb3/tags/jboss-ejb3-async-0.1.1 (from rev 74153, projects/ejb3/trunk/async)
Deleted: projects/ejb3/tags/jboss-ejb3-async-0.1.1/pom.xml
===================================================================
--- projects/ejb3/trunk/async/pom.xml 2008-06-05 20:40:27 UTC (rev 74153)
+++ projects/ejb3/tags/jboss-ejb3-async-0.1.1/pom.xml 2008-06-05 21:42:05 UTC (rev 74181)
@@ -1,51 +0,0 @@
-<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">
-
- <!-- Define Parent -->
- <parent>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-build</artifactId>
- <version>0.13.6</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
-
- <!-- Maven POM Model Version -->
- <modelVersion>4.0.0</modelVersion>
-
- <!-- Artifact Information -->
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-async</artifactId>
- <version>0.1.1-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss EJB 3.0 Aspects [Async]</name>
- <description>The Java EJB3 Asynchronous Aspects</description>
-
-
- <dependencies>
-
- <dependency>
- <groupId>org.jboss.test</groupId>
- <artifactId>jboss-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.aop</groupId>
- <artifactId>jboss-aop-aspects</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.aop</groupId>
- <artifactId>jboss-aop</artifactId>
- </dependency>
-
- <!--
-
- Everything below here should be removed, JBAS-5408
-
- -->
- <dependency>
- <groupId>org.jboss.aspects</groupId>
- <artifactId>jboss-remoting-aspects</artifactId>
- <version>1.0.1.CR2</version>
- </dependency>
-
- </dependencies>
-</project>
Copied: projects/ejb3/tags/jboss-ejb3-async-0.1.1/pom.xml (from rev 74180, projects/ejb3/trunk/async/pom.xml)
===================================================================
--- projects/ejb3/tags/jboss-ejb3-async-0.1.1/pom.xml (rev 0)
+++ projects/ejb3/tags/jboss-ejb3-async-0.1.1/pom.xml 2008-06-05 21:42:05 UTC (rev 74181)
@@ -0,0 +1,57 @@
+<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">
+
+ <!-- Define Parent -->
+ <parent>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-build</artifactId>
+ <version>0.13.7</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+
+ <!-- Maven POM Model Version -->
+ <modelVersion>4.0.0</modelVersion>
+
+ <!-- Artifact Information -->
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-async</artifactId>
+ <version>0.1.1</version>
+ <packaging>jar</packaging>
+ <name>JBoss EJB 3.0 Aspects [Async]</name>
+ <description>The Java EJB3 Asynchronous Aspects</description>
+
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.jboss.test</groupId>
+ <artifactId>jboss-test</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.aop</groupId>
+ <artifactId>jboss-aop-aspects</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.aop</groupId>
+ <artifactId>jboss-aop</artifactId>
+ </dependency>
+
+ <!--
+
+ Everything below here should be removed, JBAS-5408
+
+ -->
+ <dependency>
+ <groupId>org.jboss.aspects</groupId>
+ <artifactId>jboss-remoting-aspects</artifactId>
+ <version>1.0.1.CR2</version>
+ </dependency>
+
+ </dependencies>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-async-0.1.1</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-async-0.1.1</developerConnection>
+ <url>http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-async-0.1.1</url>
+ </scm>
+</project>
Deleted: projects/ejb3/tags/jboss-ejb3-async-0.1.1/src/test/java/org/jboss/test/asynch/AsynchTestCase.java
===================================================================
--- projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCase.java 2008-06-05 20:40:27 UTC (rev 74153)
+++ projects/ejb3/tags/jboss-ejb3-async-0.1.1/src/test/java/org/jboss/test/asynch/AsynchTestCase.java 2008-06-05 21:42:05 UTC (rev 74181)
@@ -1,105 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.asynch;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.jboss.aspects.asynch.AsynchProvider;
-import org.jboss.aspects.asynch.Future;
-import org.jboss.test.JBossTestCase;
-import org.jboss.util.NotImplementedException;
-
-
-/**
- * Comment
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision$
- */
-public class AsynchTestCase
-extends JBossTestCase
-{
- org.jboss.logging.Logger log = getLog();
-
- static boolean deployed = false;
- static int test = 0;
-
- public AsynchTestCase(String name)
- {
-
- super(name);
-
- }
-
- public void testRemote() throws Exception
- {
- try
- {
- POJO pojo = (POJO) getInitialContext().lookup("pojo");
-
- AsynchProvider asynch = (AsynchProvider) pojo;
- pojo.testMethod(5);
-
- Future future = asynch.getFuture();
- int rtn = (Integer) future.get();
- assertEquals(rtn, 5);
-
- pojo.testMethod("hello");
-
- future = asynch.getFuture();
- String srtn = (String) future.get();
- assertEquals("hello", srtn);
- }
- catch (Exception e)
- {
- throw new RuntimeException(e);
- }
-
- }
-
- public void testLocal() throws Exception
- {
- POJO pojo = (POJO) getInitialContext().lookup("pojo");
-
- pojo.test();
- }
-
- public void testCollocated() throws Exception
- {
- POJO pojo = (POJO) getInitialContext().lookup("pojo");
-
- pojo.testCollocated();
- }
-
- public static Test suite() throws Exception
- {
- TestSuite suite = new TestSuite();
- suite.addTest(new TestSuite(AsynchTestCase.class));
-
- //TODO Rework this dependency
-// AOPTestSetup setup = new AOPTestSetup(suite, "asynch-test.sar");
-// return setup;
- throw new NotImplementedException();
- }
-
-}
Copied: projects/ejb3/tags/jboss-ejb3-async-0.1.1/src/test/java/org/jboss/test/asynch/AsynchTestCaseNotImplemented.java (from rev 74179, projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCaseNotImplemented.java)
===================================================================
--- projects/ejb3/tags/jboss-ejb3-async-0.1.1/src/test/java/org/jboss/test/asynch/AsynchTestCaseNotImplemented.java (rev 0)
+++ projects/ejb3/tags/jboss-ejb3-async-0.1.1/src/test/java/org/jboss/test/asynch/AsynchTestCaseNotImplemented.java 2008-06-05 21:42:05 UTC (rev 74181)
@@ -0,0 +1,108 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.asynch;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.jboss.aspects.asynch.AsynchProvider;
+import org.jboss.aspects.asynch.Future;
+import org.jboss.test.JBossTestCase;
+import org.jboss.util.NotImplementedException;
+
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class AsynchTestCaseNotImplemented
+extends JBossTestCase
+{
+ org.jboss.logging.Logger log = getLog();
+
+ static boolean deployed = false;
+ static int test = 0;
+
+ public AsynchTestCaseNotImplemented(String name)
+ {
+
+ super(name);
+
+ }
+/**
+ Rework Dependency Below
+
+ public void testRemote() throws Exception
+ {
+ try
+ {
+ POJO pojo = (POJO) getInitialContext().lookup("pojo");
+
+ AsynchProvider asynch = (AsynchProvider) pojo;
+ pojo.testMethod(5);
+
+ Future future = asynch.getFuture();
+ int rtn = (Integer) future.get();
+ assertEquals(rtn, 5);
+
+ pojo.testMethod("hello");
+
+ future = asynch.getFuture();
+ String srtn = (String) future.get();
+ assertEquals("hello", srtn);
+ }
+ catch (Exception e)
+ {
+ throw new RuntimeException(e);
+ }
+
+ }
+
+ public void testLocal() throws Exception
+ {
+ POJO pojo = (POJO) getInitialContext().lookup("pojo");
+
+ pojo.test();
+ }
+
+ public void testCollocated() throws Exception
+ {
+ POJO pojo = (POJO) getInitialContext().lookup("pojo");
+
+ pojo.testCollocated();
+ }
+
+ public static Test suite() throws Exception
+ {
+ TestSuite suite = new TestSuite();
+ suite.addTest(new TestSuite(AsynchTestCase.class));
+
+ //TODO Rework this dependency
+// AOPTestSetup setup = new AOPTestSetup(suite, "asynch-test.sar");
+// return setup;
+ throw new NotImplementedException();
+ }
+
+*/
+}
More information about the jboss-cvs-commits
mailing list