Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-789

build.xml and component-info.xml - version numbers and imports need to be updated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • Branch_4_2
    • EJB 3.0 RC9 - FD
    • None
    • None

      The repository-zip target's comp-version, like this (use appropriate version string):
      <target name="repository-zip" depends="jars"
      description="Create the repository.jboss.com jboss/ejb3 component contents">
      <!-- The binary component version -->
      <property name="comp-version" value="1.0.0.CR9-jboss4.0.5" />
      <!-- Pack the ejb3.deployer -->
      <zip destfile="${build.lib}/ejb3-deployer.zip">
      <zipfileset dir="${build.lib}">
      <include name="ejb3.deployer/**" />
      </zipfileset>
      </zip>
      <!-- Create a zip file with the component structure -->
      <zip destfile="${build.lib}/jboss-ejb3-repo.zip">
      <!-- The component-info.xml -->
      <zipfileset dir="${build.etc}" prefix="${comp-version}">
      <include name="component-info.xml" />
      </zipfileset>
      <!-- The bin/ejb3.deployer -->
      <zipfileset dir="${build.lib}" fullpath="${comp-version}/bin/ejb3.deployer">
      <include name="ejb3-deployer.zip" />
      </zipfileset>
      <!-- The lib client jars -->
      <zipfileset dir="${build.lib}" prefix="${comp-version}/lib">
      <include name="hibernate-client.jar" />
      <include name="jboss-ejb3-client.jar" />
      </zipfileset>
      <!-- The resources deploy descriptors -->
      <zipfileset dir="${build.lib}" prefix="${comp-version}/resources">
      <include name="ejb3-clustered-sfsbcache-service.xml" />
      <include name="ejb3-entity-cache-service.xml" />
      <include name="ejb3-interceptors-aop.xml" />
      </zipfileset>
      </zip>
      </target>

      and ejb3\src\etc\component-info.xml (the version attribute):
      <project name="jboss/ejb3-component-info">

      <component id="jboss/ejb3"
      licenseType="lgpl"
      version="1.0.0.CR9-jboss4.0.5"
      description="The EJB3 deployer for integration with jboss-4.0.x">

      <artifact id="ejb3-clustered-sfsbcache-service.xml"/>
      <artifact id="ejb3-entity-cache-service.xml"/>
      <artifact id="ejb3-interceptors-aop.xml"/>
      <artifact id="ejb3.deployer" />
      <artifact id="hibernate-client.jar"/>
      <artifact id="jboss-ejb3-client.jar"/>

      <import componentref="javassist">
      <compatible version="3.2.0.CR1"/>
      <compatible version="3.2.0.CR2"/>
      </import>
      <import componentref="hibernate-annotations">
      <compatible version="3.2.0.GA"/>
      </import>
      <import componentref="hibernate-entitymanager">
      <compatible version="3.2.0.GA"/>
      </import>
      <import componentref="jboss/remoting">
      <compatible version="1.4.1_final"/>
      <compatible version="1.4.2.GA"/>
      </import>
      <import componentref="jboss/aop">
      <compatible version="1.5.1.GA"/>
      <compatible version="1.5.2.GA"/> <--------------- IS 1.5.2.GA COMPATIBLE?
      </import>

      <export>
      <include input="hibernate-client.jar"/>
      <include input="jboss-ejb3-client.jar"/>
      </export>

      </component>

      </project>

              Unassigned Unassigned
              vralev Vladimir Ralev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified