ICEfaces
  1. ICEfaces
  2. ICE-5904

Enhance the top-level ICEfaces 2 ant build to generate the release bundles

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-Beta1, 2.0.0
    • Component/s: Release
    • Labels:
      None
    • Environment:
      ICEfaces 2.0

      Description

      We need to augment the existing ICEfaces 2 Ant build to add targets to generate the actual release bundles, both bin and src.

      As a reference, the recipe for creating the release bundles for Alpha 3 was as follows:

      1. Make sure the icefaces/ReadMe.html file is updated for the release.
      2. Make sure svn/ossrepo/icefaces/scratchpads/glimmer/core/build.properties is updated with the correct version info.
      3. Lay a tag (svn copy) on scratchpads/glimmer for the release.
      4. SVN export files from ossrepo/icefaces/tags that corresponds to the release.
      5. Rename top-level "glimmer" directory to "icefaces"
      6. Copy exported files into 3 bundle folders:
      - icefaces-2.0.0-alpha3-src
      - icefaces-2.0.0-alpha3-bin

      icefaces-2.0.0-alpha3-bin

      1. in icefaces dir do "ant allclean"
      2. do "ant world"
      3. in icefaces/core do "ant javadoc"
      - Move the resulting /icefaces/core/build/javadocs dir to out of the bin bundle to be uploaded to the Wiki/.org docs site.
      4. Delete the icefaces/build.xml, build.properties files
      5. Under compat dir:
      - in compat/core, do 'ant javadoc'
      - Copy the ICEfaces 1.8.2 Component javadocs (api and TLD) out of the bin folders to be uploaded to the wiki/.org doc site. (TLD - use 1.8.2)
      - Delete the build.xml file, component-metadata, components, and core directories
      - Delete the following files from the /compat/lib dir:
      - freemarker-2.3.14.jar (build only)
      - jsf-metadata-resources-*.jar (build only)
      - jsf-metadata.jar (build only)
      - jsp-api-2.1.jar (not req. for Tomcat 6 or GF 3)
      - portlet.jar (build only)
      - Delete the compat/samples/auctionMonitor/web/WEB-INF/lib and /WEB-INF/classes dirs.
      - Delete the compat/samples/component-showcase/web/WEB-INF/lib and /WEB-INF/classes dirs.
      - Delete the compat/samples/compat-basic sample dir.
      7. Delete the icefaces/core and icefaces/test directories.
      8. In the icefaces/lib dir, delete the following files:
      - mojarra-2.0.1-FCS-source.zip
      - icefaces-compat.jar (in compat/lib already)
      - junit-4.5.jar
      - portlet2-api.jar
      - commons-fileupload.jar
      9. In the icefaces/samples dir:
      - Delete the "basic" dir (not a great user sample and has fatal failures with JSF 2.0.2).
      - Delete the "test" dir (internal testing use only).
      - Delete the /auction/build/classes dir.
      - Delete the /auction/build/dist/exploded dir.


      icefaces-2.0.0-alpha3-src

      1. In the icefaces/lib dir delete the following files:
      - mojarra-2.0.1-FCS-source.zip
      - commons-fileupload.jar
      2. In the icefaces/samples dir:
      - Delete the "basic" dir (not a great user sample and has fatal failures with JSF 2.0.2).
      - Delete the "test" dir (internal testing use only).
      3. Delete the icefaces/test dir.

        Activity

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.0-Beta [ 10231 ]
        Assignee Priority P1
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21940 Mon Jul 19 08:35:57 MDT 2010 deryk.sinotte ICE-5904: remove out of date Mojarra source library for proper bundling
        Files Changed
        Commit graph DEL /icefaces/scratchpads/glimmer/lib/mojarra-2.0.1-FCS-source.zip
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21946 Mon Jul 19 10:55:46 MDT 2010 deryk.sinotte ICE-5904: modifications and additions to top-level build to automate product bundling
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/build.xml
        Commit graph MODIFY /icefaces/scratchpads/glimmer/build.properties
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/build.xml
        Hide
        Deryk Sinotte added a comment -

        The top-level build.xml and build.properties files have beenHere is a first cut the new instructions:

        Preparation for running the new bundle targets currently remains mostly the same:

        1. Make sure the icefaces/ReadMe.html file is updated for the release.
        2. Make sure svn/ossrepo/icefaces/scratchpads/glimmer/core/build.properties is updated with the correct version info.
        3. Lay a tag (svn copy) on scratchpads/glimmer for the release.
        4. SVN export files from ossrepo/icefaces/tags that corresponds to the release. The "rename" can be done as part of the export (although renaming is no longer strictly necessary).

        e.g.

        svn export http://server.ice:8888/ossrepo/icefaces/scratchpads/glimmer icefaces2

        5. After exporting, from the newly exported directory, adjust icefaces2/build.properties file to reflect the proper bundle name:

        bundle.name=icefaces-2.0.0-beta1

        6. From the icefaces2 directory, execute:

        ant bundle.clean bundle

        The result should be a bundle directory at the same level as the icefaces2 directory which contains both the binary and source directories with all the noted adjustments made as well zipped versions of the same.

        Show
        Deryk Sinotte added a comment - The top-level build.xml and build.properties files have beenHere is a first cut the new instructions: Preparation for running the new bundle targets currently remains mostly the same: 1. Make sure the icefaces/ReadMe.html file is updated for the release. 2. Make sure svn/ossrepo/icefaces/scratchpads/glimmer/core/build.properties is updated with the correct version info. 3. Lay a tag (svn copy) on scratchpads/glimmer for the release. 4. SVN export files from ossrepo/icefaces/tags that corresponds to the release. The "rename" can be done as part of the export (although renaming is no longer strictly necessary). e.g. svn export http://server.ice:8888/ossrepo/icefaces/scratchpads/glimmer icefaces2 5. After exporting, from the newly exported directory, adjust icefaces2/build.properties file to reflect the proper bundle name: bundle.name=icefaces-2.0.0-beta1 6. From the icefaces2 directory, execute: ant bundle.clean bundle The result should be a bundle directory at the same level as the icefaces2 directory which contains both the binary and source directories with all the noted adjustments made as well zipped versions of the same.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21952 Mon Jul 19 13:46:19 MDT 2010 deryk.sinotte ICE-5904: change default target for components to prevent creation of deprecated .jar file
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21953 Mon Jul 19 14:29:36 MDT 2010 deryk.sinotte ICE-5904: change subant calls to work with Ant 1.6.5 and Cruise Control
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21961 Mon Jul 19 16:25:14 MDT 2010 deryk.sinotte ICE-5904: remove compat/lib/portlet.jar from binary bundle
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21962 Mon Jul 19 16:51:00 MDT 2010 deryk.sinotte ICE-5904: fix src bundle deletions and add icefaces sub-directory to both bundles
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/build.xml
        Commit graph MODIFY /icefaces2/trunk/icefaces/build.properties
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21964 Mon Jul 19 17:13:04 MDT 2010 deryk.sinotte ICE-5904: adjust zip tasks to include bundle name
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21969 Tue Jul 20 08:25:13 MDT 2010 deryk.sinotte ICE-5904: remove samples/basic/tests from both bundles
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/build.xml
        Hide
        Ken Fyten added a comment -

        The bundles created by this are looking good now. Fixed.

        Show
        Ken Fyten added a comment - The bundles created by this are looking good now. Fixed.
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Priority P1
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21993 Wed Jul 21 10:19:04 MDT 2010 ted.goddard remove icefaces-compat.jar (ICE-5904)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/build.xml
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: