jersey
  1. jersey
  2. JERSEY-1873

remove unnecessary dependencies pulled into GF web app examples

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      In GF example web apps, we still bundle some unnecessary jar files. The following is output from

      for w in `ls **/*.war`; do
      echo $w
      unzip -l $w | grep jar
      done
      

      :

      bean-validation-webapp/target/bean-validation-webapp.war
      bookmark-em/target/bookmark-em.war
      bookmark/target/bookmark.war
      bookstore-webapp/target/bookstore-webapp.war
      cdi-webapp/target/cdi-webapp.war
      extended-wadl-webapp/target/extended-wadl-webapp.war
          63966  02-28-13 20:00   WEB-INF/lib/avalon-framework-4.1.3.jar
          52915  02-28-13 20:00   WEB-INF/lib/commons-logging-1.1.jar
          26117  02-28-13 17:39   WEB-INF/lib/javax.annotation-api-1.2-b02.jar
          83586  02-28-13 19:58   WEB-INF/lib/javax.servlet-3.0.jar
         112291  03-25-13 11:50   WEB-INF/lib/javax.ws.rs-api-2.0-rc3.jar
          17866  04-22-13 19:04   WEB-INF/lib/jersey-wadl-doclet-2.0-SNAPSHOT.jar
          79832  03-11-13 11:24   WEB-INF/lib/jettison-1.3.3.jar
         358085  02-28-13 17:30   WEB-INF/lib/log4j-1.2.12.jar
          72150  02-28-13 20:00   WEB-INF/lib/logkit-1.0.1.jar
          97693  02-28-13 19:58   WEB-INF/lib/servlet-api-2.4.jar
         959368  02-28-13 20:01   WEB-INF/lib/xercesImpl-2.6.1.jar
      freemarker-webapp/target/freemarker-webapp.war
         931168  02-28-13 20:03   WEB-INF/lib/freemarker-2.3.19.jar
           7954  04-22-13 17:06   WEB-INF/lib/jersey-mvc-freemarker-2.0-SNAPSHOT.jar
      helloworld-webapp/target/helloworld-webapp.war
          83586  02-28-13 19:58   WEB-INF/lib/javax.servlet-3.0.jar
      https-server-glassfish/target/https-server-glassfish.war
          26117  02-28-13 17:39   WEB-INF/lib/javax.annotation-api-1.2-b02.jar
      jersey-ejb/target/jersey-ejb.war
      json-processing-webapp/target/json-processing-webapp.war
      managed-beans-webapp/target/managed-beans-webapp.war
      managed-client-simple-webapp/target/managed-client-simple-webapp.war
      managed-client-webapp/target/managed-client-webapp.war
      multipart-webapp/target/multipart-webapp.war
      server-async-standalone/webapp/target/server-async-standalone-webapp.war
      sse-item-store-webapp/target/sse-item-store-webapp.war
      

      we need to get rid of the redundant jars, that are already included in GF distribution.

        Activity

        Hide
        Miroslav Fuksa added a comment -

        status after cleaning

        bean-validation-webapp/target/bean-validation-webapp.war
        bookmark-em/target/bookmark-em.war
        bookmark/target/bookmark.war
        bookstore-webapp/target/bookstore-webapp.war
        cdi-webapp/target/cdi-webapp.war
        extended-wadl-webapp/target/extended-wadl-webapp.war
        freemarker-webapp/target/freemarker-webapp.war
        7949 2013-08-07 13:27 WEB-INF/lib/jersey-mvc-freemarker-2.2-SNAPSHOT.jar -> not a part of GF
        931168 2013-05-19 15:24 WEB-INF/lib/freemarker-2.3.19.jar
        helloworld-webapp/target/helloworld-webapp.war -> not a part of GF
        https-server-glassfish/target/https-server-glassfish.war
        jersey-ejb/target/jersey-ejb.war
        json-processing-webapp/target/json-processing-webapp.war
        managed-beans-webapp/target/managed-beans-webapp.war
        managed-client-simple-webapp/target/managed-client-simple-webapp.war
        managed-client-webapp/target/managed-client-webapp.war
        multipart-webapp/target/multipart-webapp.war
        sse-item-store-webapp/target/sse-item-store-webapp.war

        Show
        Miroslav Fuksa added a comment - status after cleaning bean-validation-webapp/target/bean-validation-webapp.war bookmark-em/target/bookmark-em.war bookmark/target/bookmark.war bookstore-webapp/target/bookstore-webapp.war cdi-webapp/target/cdi-webapp.war extended-wadl-webapp/target/extended-wadl-webapp.war freemarker-webapp/target/freemarker-webapp.war 7949 2013-08-07 13:27 WEB-INF/lib/jersey-mvc-freemarker-2.2-SNAPSHOT.jar -> not a part of GF 931168 2013-05-19 15:24 WEB-INF/lib/freemarker-2.3.19.jar helloworld-webapp/target/helloworld-webapp.war -> not a part of GF https-server-glassfish/target/https-server-glassfish.war jersey-ejb/target/jersey-ejb.war json-processing-webapp/target/json-processing-webapp.war managed-beans-webapp/target/managed-beans-webapp.war managed-client-simple-webapp/target/managed-client-simple-webapp.war managed-client-webapp/target/managed-client-webapp.war multipart-webapp/target/multipart-webapp.war sse-item-store-webapp/target/sse-item-store-webapp.war

          People

          • Assignee:
            Miroslav Fuksa
            Reporter:
            Jakub Podlesak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 6 hours Original Estimate - 6 hours
              6h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 9 hours
              9h