Application Server 3  4  5 and 6
  1. Application Server 3 4 5 and 6
  2. JBAS-7410

Exploded deploy/admin-console.war directory contains duplicate jars

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.M1
    • Component/s: Build System
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      The 1.3.2-SNAPSHOT jopr-embedded-jbas5.war includes:
      376421 Sat Oct 17 09:31:58 EDT 2009 WEB-INF/lib/myfaces-api-1.2.7.jar
      790849 Sat Oct 17 09:31:56 EDT 2009 WEB-INF/lib/myfaces-impl-1.2.7.jar
      46725 Fri Oct 16 20:42:32 EDT 2009 WEB-INF/lib/commons-codec-1.3.jar
      76017 Fri Oct 16 20:42:30 EDT 2009 WEB-INF/lib/commons-discovery-0.4-brew.jar

      During the build, the admin-console.war is exploded. In addition, these same library jars are copied from thirdparty resulting in the duplication - one with version/and one without. Need to coordinate before tagging for beta release.

      <!-- Install Admin Console -->
      <mkdir dir="$

      {install.server}/all/deploy/admin-console.war"/>
      <unjar src="${org.jboss.jopr.lib}/jopr-embedded-jbas5.war" dest="${install.server}

      /all/deploy/admin-console.war"/>
      <copy todir="$

      {install.server}

      /all/deploy/admin-console.war/WEB-INF/lib" filtering="no">
      <fileset dir="$

      {apache.myfaces.lib}

      ">
      <include name="*/myfaces-api.jar"/>
      <include name="*/myfaces-impl.jar"/>
      </fileset>
      <fileset dir="$

      {apache.codec.lib}

      ">
      <include name="*/commons-codec.jar"/>
      <exclude name="**/source"/>
      </fileset>
      <fileset dir="$

      {apache.discovery.lib}

      ">
      <include name="*/commons-discovery.jar"/>
      </fileset>
      </copy>

        Activity

        Hide
        Stan Silvert
        added a comment -

        It doesn't make any difference to me. I did this so that they wouldn't need a special version of admin console. But since it sounds like they've already created one, I'll be glad to remove this stuff.

        BTW, what about web.xml? Does the new admin console include a web.xml for booting MyFaces?

        Please ask the console team how they want to handle this and then let me know.

        Show
        Stan Silvert
        added a comment - It doesn't make any difference to me. I did this so that they wouldn't need a special version of admin console. But since it sounds like they've already created one, I'll be glad to remove this stuff. BTW, what about web.xml? Does the new admin console include a web.xml for booting MyFaces? Please ask the console team how they want to handle this and then let me know.
        Hide
        Shelly McGowan
        added a comment -

        The problem arises when the snapshot being picked up is built from the embjopr branch:
        http://svn.jboss.org/repos/embjopr/branches/EmbJopr_1_3_1_MyFaces

        This branch includes the changes for myfaces but embjopr/trunk does not.

        Show
        Shelly McGowan
        added a comment - The problem arises when the snapshot being picked up is built from the embjopr branch: http://svn.jboss.org/repos/embjopr/branches/EmbJopr_1_3_1_MyFaces This branch includes the changes for myfaces but embjopr/trunk does not.
        Hide
        Shelly McGowan
        added a comment -

        The changes to build/build-distr.xml have been reverted as the admin-console 1.3.2.GA_MyFaces version includes the necessary jars.

        Show
        Shelly McGowan
        added a comment - The changes to build/build-distr.xml have been reverted as the admin-console 1.3.2.GA_MyFaces version includes the necessary jars.

          People

          • Assignee:
            Shelly McGowan
            Reporter:
            Shelly McGowan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: