1 Reply Latest reply on Feb 28, 2006 2:11 PM by Scott Stark

    ejb3.deployer in 4.0 needs to drop all thirdparty jars

    Scott Stark Master

      Related to http://jira.jboss.com/jira/browse/JBAS-2858, the ejb3.deployer build in 4.0 should not be putting its thirdparty jars into the deployer. These exist at the server level and have to be compatible.

        • 1. Re: ejb3.deployer in 4.0 needs to drop all thirdparty jars
          Scott Stark Master

          If I trim down the ejb3.deployer artifact to simply this:

           <mkdir dir="${build.lib}/ejb3.deployer"/>
           <copy todir="${build.lib}/ejb3.deployer">
           <fileset dir="${build.lib}">
           <include name="jboss-ejb3.jar"/>
           </fileset>
           <fileset dir="${build.lib}">
           <include name="jboss-annotations-ejb3.jar"/>
           </fileset>
           <fileset dir="${jboss.ejb3x.lib}">
           <include name="jboss-ejb3x.jar"/>
           </fileset>
           <fileset dir="${resources}">
           <include name="META-INF/jboss-service.xml"/>
           <include name="META-INF/persistence.properties"/>
           </fileset>
           </copy>
           <copy todir="${build.lib}" file="${resources}/ejb3-interceptors-aop.xml"/>
           <copy todir="${build.lib}" file="${resources}/ejb3-clustered-sfsbcache-service.xml"/>
           <copy todir="${build.lib}" file="${resources}/ejb3-entity-cache-service.xml"/>
          
          ...
          
          [starksm@banshee9100 build]$ ls output/jboss-4.0.4.CR2/server/default/deploy/ejb3.deployer/
          META-INF/ jboss-annotations-ejb3.jar* jboss-ejb3.jar* jboss-ejb3x.jar*
          


          the ejb3 unit tests seem to be running at the same error level. I'll assign this issue to myself and checkin these changes so let's not overwrite this when merging from head.