ICEfaces
  1. ICEfaces
  2. ICE-7706

Duplicated libraries included when building sample apps with compat and MyFaces dependencies

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 3 sample apps build
    • Assignee Priority:
      P2
    • Affects:
      Sample App./Tutorial
    • Workaround Exists:
      Yes
    • Workaround Description:
      Manually remove duplicates.

      Description

      When building certain sample apps, there can be a "collision" of multiple versions of the same lib under certain conditions. The obvious one that prompted this JIRA was building ACE Showcase using MyFaces. Both the lib/compat, lib/myfaces, and showcase/lib directories contain copies of commons-collections. There are also other duplicated libs. The build needs to be adjusted to accomodate compiling and building in these types of scenarios without including duplicates as this can lead to errors in the .war files which cause problems on certain platforms (ie WebSphere).

        Activity

        Hide
        Deryk Sinotte added a comment -

        I removed the extra commons-collections jar from showcase/lib and adjusted the build so that the overlapping libs in compat and MyFaces only show up once.

        Show
        Deryk Sinotte added a comment - I removed the extra commons-collections jar from showcase/lib and adjusted the build so that the overlapping libs in compat and MyFaces only show up once.
        Hide
        Cruz Miraback added a comment -

        Fix has been verified by building showcase using myFaces on revision 27504.

        Show
        Cruz Miraback added a comment - Fix has been verified by building showcase using myFaces on revision 27504.

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: