ICEfaces
  1. ICEfaces
  2. ICE-6827

Improve building sample apps by ensuring Maven and Ant builds don't interfere with each other

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, EE-2.0.0.GA
    • Fix Version/s: 3.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 2 build

      Description

      We support both Ant and Maven 2 builds of our sample applications. However, depending on how the build is done, artifacts from one strategy can interfere with the other. For example, in the portlet examples, if you build with Ant and then build with Maven, the actions of the Ant build can cause Maven to fail or to generate a .war file that isn't correct.

      Specifically, the portlet builds rely on getting src code and other files from the non-portlet versions of the samples and this can have an effect if the build mechanisms are mixed without "cleaning" in between. So the best thing would be to ensure that a "clean" is done in advance of using either build strategy.

        Activity

        Hide
        Deryk Sinotte added a comment -

        The Maven builds will now call the Ant "clean" target to ensure there are no "duplicated class" issues. Resolving as fixed.

        Show
        Deryk Sinotte added a comment - The Maven builds will now call the Ant "clean" target to ensure there are no "duplicated class" issues. Resolving as fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: