FTBFS: commons-fileupload portlet API missing

Bug #812895 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libspring-java (Ubuntu)
Fix Released
Medium
James Page

Bug Description

https://launchpad.net/ubuntu/+source/libspring-java/3.0.5.RELEASE-3/+build/2567703

jar:
    [mkdir] Created dir: /build/buildd/libspring-java-3.0.5.RELEASE/projects/org.springframework.web.portlet/target/artifacts
    [mkdir] Created dir: /build/buildd/libspring-java-3.0.5.RELEASE/projects/org.springframework.web.portlet/target/classes
  [s:javac] Compiling 84 source files to /build/buildd/libspring-java-3.0.5.RELEASE/projects/org.springframework.web.portlet/target/classes
  [s:javac] ----------
  [s:javac] 1. ERROR in /build/buildd/libspring-java-3.0.5.RELEASE/projects/org.springframework.web.portlet/src/main/java/org/springframework/web/portlet/multipart/CommonsPortletMultipartResolver.java (at line 28)
  [s:javac] import org.apache.commons.fileupload.portlet.PortletFileUpload;
  [s:javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  [s:javac] The import org.apache.commons.fileupload.portlet cannot be resolved
  [s:javac] ----------
  [s:javac] 2. ERROR in /build/buildd/libspring-java-3.0.5.RELEASE/projects/org.springframework.web.portlet/src/main/java/org/springframework/web/portlet/multipart/CommonsPortletMultipartResolver.java (at line 106)
  [s:javac] return new PortletFileUpload(fileItemFactory);
  [s:javac] ^^^^^^^^^^^^^^^^^
  [s:javac] PortletFileUpload cannot be resolved to a type
  [s:javac] ----------
  [s:javac] 3. ERROR in /build/buildd/libspring-java-3.0.5.RELEASE/projects/org.springframework.web.portlet/src/main/java/org/springframework/web/portlet/multipart/CommonsPortletMultipartResolver.java (at line 117)
  [s:javac] return (request != null && PortletFileUpload.isMultipartContent(request));
  [s:javac] ^^^^^^^^^^^^^^^^^
  [s:javac] PortletFileUpload cannot be resolved
  [s:javac] ----------
  [s:javac] 4. ERROR in /build/buildd/libspring-java-3.0.5.RELEASE/projects/org.springframework.web.portlet/src/main/java/org/springframework/web/portlet/multipart/CommonsPortletMultipartResolver.java (at line 150)
  [s:javac] List<FileItem> fileItems = ((PortletFileUpload) fileUpload).parseRequest(request);
  [s:javac] ^^^^^^^^^^^^^^^^^
  [s:javac] PortletFileUpload cannot be resolved to a type
  [s:javac] ----------
  [s:javac] 4 problems (4 errors)
   [subant] Leaving directory: /build/buildd/libspring-java-3.0.5.RELEASE/projects/org.springframework.web.portlet

Related branches

James Page (james-page)
Changed in libspring-java (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → James Page (james-page)
description: updated
Revision history for this message
James Page (james-page) wrote :

Ubuntu diverges libcommons-fileupload-java into two - one in universe with portlet API support and one in main without.

This packages needs portlet API - so deps need to switch to libcommons-fileupload-java-universe.

James Page (james-page)
summary: - FTBFS: commons-fileupload porlet API missing
+ FTBFS: commons-fileupload portlet API missing
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libspring-java - 3.0.5.RELEASE-3ubuntu1

---------------
libspring-java (3.0.5.RELEASE-3ubuntu1) oneiric; urgency=low

  * Fix FTBFS specific to Ubuntu (LP: #812895):
    - debian/control: depend on libcommons-fileupload-java-universe in order
      to gain support for Portlet API.
 -- James Page <email address hidden> Tue, 19 Jul 2011 14:32:47 +0100

Changed in libspring-java (Ubuntu):
status: In Progress → Fix Released
James Page (james-page)
Changed in libspring-java (Ubuntu):
milestone: none → oneiric-alpha-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.