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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27425 Thu Jan 26 17:05:24 MST 2012 deryk.sinotte ICE-7706: adjust build and remove extra libs to avoid duplication
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/build/common.xml
        Commit graph DEL /icefaces3/trunk/icefaces/samples/showcase/showcase/lib/commons-collections-3.2.jar
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27434 Thu Jan 26 17:59:45 MST 2012 ken.fyten ICE-7706: adjust build and remove extra libs to avoid duplication
        Files Changed
        Commit graph MODIFY /icefaces3/tags/icefaces-3.0.0/icefaces/samples/build/common.xml
        Deryk Sinotte created issue -
        Deryk Sinotte made changes -
        Field Original Value New Value
        Salesforce Case []
        Affects [Sample App./Tutorial]
        Assignee Priority P2
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27435 Thu Jan 26 18:10:21 MST 2012 ken.fyten ICE-7706: adjust build and remove extra libs to avoid duplication
        Files Changed
        Commit graph DEL /icefaces3/tags/icefaces-3.0.0/icefaces/samples/showcase/showcase/lib/commons-collections-3.2.jar
        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.
        Deryk Sinotte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: