[jboss-cvs] JBossAS SVN: r86171 - in branches/Branch_5_x/testsuite: src/main/org/jboss/test/bootstrapdependencies/jbas5349/ejb2 and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Mar 21 07:43:28 EDT 2009
Author: alex.loubyansky at jboss.com
Date: 2009-03-21 07:43:28 -0400 (Sat, 21 Mar 2009)
New Revision: 86171
Modified:
branches/Branch_5_x/testsuite/imports/sections/cmp.xml
branches/Branch_5_x/testsuite/src/main/org/jboss/test/bootstrapdependencies/jbas5349/ejb2/SimpleEntity.java
branches/Branch_5_x/testsuite/src/main/org/jboss/test/bootstrapdependencies/jbas5349/ejb2/SimpleEntityHome.java
branches/Branch_5_x/testsuite/src/main/org/jboss/test/cmp2/lob/LOBHome.java
Log:
fix verification of deployments (regressions after JBAS-4666)
Modified: branches/Branch_5_x/testsuite/imports/sections/cmp.xml
===================================================================
--- branches/Branch_5_x/testsuite/imports/sections/cmp.xml 2009-03-21 11:40:44 UTC (rev 86170)
+++ branches/Branch_5_x/testsuite/imports/sections/cmp.xml 2009-03-21 11:43:28 UTC (rev 86171)
@@ -133,6 +133,12 @@
overwrite="true"/>
<!-- build cmp2-jdbc2pm-ageout.jar -->
+ <copy file="${build.resources}/cmp2/ejbselect/META-INF/ejb-jar.xml"
+ tofile="${build.resources}/cmp2/ageout/META-INF/ejb-jar.xml"
+ overwrite="true"/>
+ <copy file="${build.resources}/cmp2/ejbselect/META-INF/jbosscmp-jdbc.xml"
+ tofile="${build.resources}/cmp2/ageout/META-INF/jbosscmp-jdbc.xml"
+ overwrite="true"/>
<jar destfile="${build.lib}/cmp2-jdbc2pm-ageout.jar">
<fileset dir="${build.classes}">
<patternset refid="common.test.client.classes"/>
Modified: branches/Branch_5_x/testsuite/src/main/org/jboss/test/bootstrapdependencies/jbas5349/ejb2/SimpleEntity.java
===================================================================
--- branches/Branch_5_x/testsuite/src/main/org/jboss/test/bootstrapdependencies/jbas5349/ejb2/SimpleEntity.java 2009-03-21 11:40:44 UTC (rev 86170)
+++ branches/Branch_5_x/testsuite/src/main/org/jboss/test/bootstrapdependencies/jbas5349/ejb2/SimpleEntity.java 2009-03-21 11:43:28 UTC (rev 86171)
@@ -22,8 +22,9 @@
package org.jboss.test.bootstrapdependencies.jbas5349.ejb2;
import javax.ejb.EJBObject;
+import java.rmi.RemoteException;
public interface SimpleEntity extends EJBObject
{
- public Long getId();
+ public Long getId() throws RemoteException;
}
Modified: branches/Branch_5_x/testsuite/src/main/org/jboss/test/bootstrapdependencies/jbas5349/ejb2/SimpleEntityHome.java
===================================================================
--- branches/Branch_5_x/testsuite/src/main/org/jboss/test/bootstrapdependencies/jbas5349/ejb2/SimpleEntityHome.java 2009-03-21 11:40:44 UTC (rev 86170)
+++ branches/Branch_5_x/testsuite/src/main/org/jboss/test/bootstrapdependencies/jbas5349/ejb2/SimpleEntityHome.java 2009-03-21 11:43:28 UTC (rev 86171)
@@ -21,12 +21,13 @@
*/
package org.jboss.test.bootstrapdependencies.jbas5349.ejb2;
+import java.rmi.RemoteException;
import javax.ejb.EJBHome;
import javax.ejb.FinderException;
import javax.ejb.CreateException;
public interface SimpleEntityHome extends EJBHome
{
- public SimpleEntity create(Long id) throws CreateException;
- public SimpleEntity findByPrimaryKey(Long id) throws FinderException;
+ public SimpleEntity create(Long id) throws CreateException, RemoteException;
+ public SimpleEntity findByPrimaryKey(Long id) throws FinderException, RemoteException;
}
Modified: branches/Branch_5_x/testsuite/src/main/org/jboss/test/cmp2/lob/LOBHome.java
===================================================================
--- branches/Branch_5_x/testsuite/src/main/org/jboss/test/cmp2/lob/LOBHome.java 2009-03-21 11:40:44 UTC (rev 86170)
+++ branches/Branch_5_x/testsuite/src/main/org/jboss/test/cmp2/lob/LOBHome.java 2009-03-21 11:43:28 UTC (rev 86171)
@@ -51,5 +51,5 @@
throws FinderException, RemoteException;
public java.util.Collection select(java.lang.String query , java.lang.Object[] params)
- throws javax.ejb.FinderException;
+ throws javax.ejb.FinderException, RemoteException;
}
More information about the jboss-cvs-commits
mailing list