ICEfaces
  1. ICEfaces
  2. ICE-8872

Regression - file-callback tutorial application compile errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: EE-3.2.0.GA, 3.3
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Icefaces3 trunk revision# 32976
      Server: tomcat6
      Browser: all

      Description

      This tutorial application fails to compile (using Ant), see error bellow - this appears to be an older issue (August 24th), a regression introduced by ICE-7748.

      The Icefaces3 Regressions should have caught this issue (this tutorial must have been assigned a 'skipped' status), however it did not.

      compile:
          [javac] Compiling 3 source files to C:\svn\ossrepo\icefaces3\trunk\icefaces\tutorials\file-callback-tutorial\build\c
      lasses
          [javac] C:\svn\ossrepo\icefaces3\trunk\icefaces\tutorials\file-callback-tutorial\src\main\java\org\icefaces\tutorial
      s\ace\faces\listeners\FileMD5EncodingCallback.java:32: package org.apache.commons.io does not exist
          [javac] import org.apache.commons.io.FilenameUtils;
          [javac] ^
          [javac] C:\svn\ossrepo\icefaces3\trunk\icefaces\tutorials\file-callback-tutorial\src\main\java\org\icefaces\tutorial
      s\ace\faces\listeners\FileMD5EncodingCallback.java:76: cannot find symbol
          [javac] symbol : variable FilenameUtils
          [javac] location: class org.icefaces.tutorials.ace.faces.listeners.FileMD5EncodingCallback
          [javac] if (extensionList.contains(FilenameUtils.getExtension(fileEntryInfo.getFileName()))) {
          [javac] ^
          [javac] C:\svn\ossrepo\icefaces3\trunk\icefaces\tutorials\file-callback-tutorial\src\main\java\org\icefaces\tutorial
      s\ace\faces\listeners\FileMD5EncodingCallback.java:149: cannot find symbol
          [javac] symbol : variable FilenameUtils
          [javac] location: class org.icefaces.tutorials.ace.faces.listeners.FileMD5EncodingCallback.InvalidFileStatus
          [javac] FilenameUtils.getExtension(fileInfo.getFileName()));
          [javac] ^
          [javac] Note: C:\svn\ossrepo\icefaces3\trunk\icefaces\tutorials\file-callback-tutorial\src\main\java\org\icefaces\tu
      torials\util\FacesUtils.java uses or overrides a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] 3 errors

        Activity

        Carmen Cristurean created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Assignee Mark Collette [ mark.collette ]
        Fix Version/s 3.3 [ 10370 ]
        Assignee Priority P1 [ 10010 ]
        Mark Collette made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s EE-3.2.0.GA [ 10332 ]
        Resolution Fixed [ 1 ]
        Mark Collette made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Assignee Priority P1 [ 10010 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mark Collette
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: