ICEfaces
  1. ICEfaces
  2. ICE-8676

update tutorial POM files to build with new release

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      IF 3.x

      Description

      Some tutorial POM files reference outdated releases (2.0) and should be updated and tested with the newest release (if they haven't already been via an Ant build).

        Activity

        Hide
        Mark Collette added a comment -

        Files I had to remove when building 3.3.0 that weren't there with 3.0.1 / 1.0
        /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/FastInfoset-1.2.12.jar
        /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/activation-1.1.jar
        /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/icepush-3.3.0.jar
        /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/jsp-api-2.0.jar
        /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/mail-1.4.1.jar

        With 3.0.1:
        org.icefaces.tutorial:autocomplete-tutorial:war:1.0
        org.icefaces:icefaces:jar:3.0.1:compile
        org.icefaces:icefaces-compat:jar:3.0.1:compile
        commons-beanutils:commons-beanutils:jar:1.8.0:compile
        commons-logging:commons-logging:jar:1.1:compile
        org.glassfish:javax.faces:jar:2.1.6:compile
        javax.servlet:servlet-api:jar:2.5:provided
        javax.servlet:jstl:jar:1.1.2:compile
        javax.el:el-api:jar:1.0:provided

        /Users/mark/.m2/repository/org/icefaces/icefaces/3.0.1/icefaces-3.0.1.jar
        /Users/mark/.m2/repository/org/icefaces/icefaces-compat/3.0.1/icefaces-compat-3.0.1.jar
        /Users/mark/.m2/repository/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar
        /Users/mark/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar
        /Users/mark/.m2/repository/org/glassfish/javax.faces/2.1.6/javax.faces-2.1.6.jar
        /Users/mark/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
        /Users/mark/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar
        /Users/mark/.m2/repository/javax/el/el-api/1.0/el-api-1.0.jar]

        With 3.3.0

        org.icefaces.tutorial:autocomplete-tutorial:war:3.3.0
        org.icefaces:icefaces:jar:3.3.0:compile
        org.icepush:icepush:jar:3.3.0:compile
        javax.servlet.jsp:jsp-api:jar:2.0:compile
        javax.mail:mail:jar:1.4.1:compile
        javax.activation:activation:jar:1.1:compile
        com.sun.xml.fastinfoset:FastInfoset:jar:1.2.12:compile
        org.icefaces:icefaces-compat:jar:3.3.0:compile
        commons-beanutils:commons-beanutils:jar:1.8.0:compile
        commons-logging:commons-logging:jar:1.1:compile
        org.glassfish:javax.faces:jar:2.1.21:compile
        javax.servlet:servlet-api:jar:2.5:provided
        javax.servlet:jstl:jar:1.1.2:compile
        javax.el:el-api:jar:1.0:provided

        Add to icefaces dependency:
        <exclusions>
        <exclusion>
        <groupId>org.icepush</groupId>
        <artifactId>icepush</artifactId>
        </exclusion>
        </exclusions>

        Add to icepush dependency:
        <exclusions>
        <exclusion>
        <groupId>javax.servlet.jsp</groupId>
        <artifactId>jsp-api</artifactId>
        </exclusion>
        <exclusion>
        <groupId>javax.mail</groupId>
        <artifactId>mail</artifactId>
        </exclusion>
        </exclusions>

        Show
        Mark Collette added a comment - Files I had to remove when building 3.3.0 that weren't there with 3.0.1 / 1.0 /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/FastInfoset-1.2.12.jar /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/activation-1.1.jar /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/icepush-3.3.0.jar /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/jsp-api-2.0.jar /Users/mark/Documents/ICEsoft/apache-tomcat-7.0.23/webapps/autocomplete-tutorial/WEB-INF/lib/mail-1.4.1.jar With 3.0.1: org.icefaces.tutorial:autocomplete-tutorial:war:1.0 org.icefaces:icefaces:jar:3.0.1:compile org.icefaces:icefaces-compat:jar:3.0.1:compile commons-beanutils:commons-beanutils:jar:1.8.0:compile commons-logging:commons-logging:jar:1.1:compile org.glassfish:javax.faces:jar:2.1.6:compile javax.servlet:servlet-api:jar:2.5:provided javax.servlet:jstl:jar:1.1.2:compile javax.el:el-api:jar:1.0:provided /Users/mark/.m2/repository/org/icefaces/icefaces/3.0.1/icefaces-3.0.1.jar /Users/mark/.m2/repository/org/icefaces/icefaces-compat/3.0.1/icefaces-compat-3.0.1.jar /Users/mark/.m2/repository/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar /Users/mark/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar /Users/mark/.m2/repository/org/glassfish/javax.faces/2.1.6/javax.faces-2.1.6.jar /Users/mark/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar /Users/mark/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar /Users/mark/.m2/repository/javax/el/el-api/1.0/el-api-1.0.jar] With 3.3.0 org.icefaces.tutorial:autocomplete-tutorial:war:3.3.0 org.icefaces:icefaces:jar:3.3.0:compile org.icepush:icepush:jar:3.3.0:compile javax.servlet.jsp:jsp-api:jar:2.0:compile javax.mail:mail:jar:1.4.1:compile javax.activation:activation:jar:1.1:compile com.sun.xml.fastinfoset:FastInfoset:jar:1.2.12:compile org.icefaces:icefaces-compat:jar:3.3.0:compile commons-beanutils:commons-beanutils:jar:1.8.0:compile commons-logging:commons-logging:jar:1.1:compile org.glassfish:javax.faces:jar:2.1.21:compile javax.servlet:servlet-api:jar:2.5:provided javax.servlet:jstl:jar:1.1.2:compile javax.el:el-api:jar:1.0:provided Add to icefaces dependency: <exclusions> <exclusion> <groupId>org.icepush</groupId> <artifactId>icepush</artifactId> </exclusion> </exclusions> Add to icepush dependency: <exclusions> <exclusion> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> </exclusion> <exclusion> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> </exclusion> </exclusions>
        Hide
        Mark Collette added a comment -

        To build all the tutorials:

        cd tutorials
        DIRS=$(find . -type d -depth 1 -name "[^.]*")
        for td in $DIRS; do cd $td; mvn clean package; cd ..; done

        Show
        Mark Collette added a comment - To build all the tutorials: cd tutorials DIRS=$(find . -type d -depth 1 -name " [^.] *") for td in $DIRS; do cd $td; mvn clean package; cd ..; done
        Hide
        Mark Collette added a comment - - edited

        Made the ant build of the tutorials only add the jstl jar when compat=true, to match how Maven has a jstl dependency on icefaces-compat.

        Show
        Mark Collette added a comment - - edited Made the ant build of the tutorials only add the jstl jar when compat=true, to match how Maven has a jstl dependency on icefaces-compat.
        Hide
        Mark Collette added a comment -
        • Renamed booking-icefaces to spring-booking-tutorial.
        • Updated all the libraries to the newest versions.
        • Upgraded the spring-security configuration from 3.0 to 3.1.
        • Modified it to use ACE components instead of compat components.
        • Removed the included le-frog theme files, and temporarily made the tutorial use the built-in sam theme, until we make le-from.jar be accessible from maven.
        • Made the web.xml and faces-config.xml files follow the standard pattern of the other tutorials.
        • Fixed application bugs:
          1. Couldn't handle reservations longer than 47 days due to integer overflow.
          2. Couldn't cancel reservation or cancel from hotel selection due to dataTable var collision with bean name.
          3. Made the credit card expiry years always be current
        Show
        Mark Collette added a comment - Renamed booking-icefaces to spring-booking-tutorial. Updated all the libraries to the newest versions. Upgraded the spring-security configuration from 3.0 to 3.1. Modified it to use ACE components instead of compat components. Removed the included le-frog theme files, and temporarily made the tutorial use the built-in sam theme, until we make le-from.jar be accessible from maven. Made the web.xml and faces-config.xml files follow the standard pattern of the other tutorials. Fixed application bugs: 1. Couldn't handle reservations longer than 47 days due to integer overflow. 2. Couldn't cancel reservation or cancel from hotel selection due to dataTable var collision with bean name. 3. Made the credit card expiry years always be current
        Hide
        Mark Collette added a comment -

        When ICE-9226 is completed, the spring-booking-tutorial can then make use of the le-frog theme.

        Show
        Mark Collette added a comment - When ICE-9226 is completed, the spring-booking-tutorial can then make use of the le-frog theme.

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Nils Lundquist
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: