Bug 163221 - dev-java/commons-io-1.2: java-pkg_dojavadoc: dist/docs/api does not exist, or isn't a directory!
Bug#: 163221 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: Martin.vGagern@gmx.net
Component: Applications
URL: 
Summary: dev-java/commons-io-1.2: java-pkg_dojavadoc: dist/docs/api does not exist, or isn't a directory!
Keywords:  
Status Whiteboard: 
Opened: 2007-01-22 11:38 0000
Description:   Opened: 2007-01-22 11:38 0000
!!! ERROR: dev-java/commons-io-1.2 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_install
  ebuild.sh, line 1057:   Called qa_call 'src_install'
  environment, line 4478:   Called src_install
  commons-io-1.2.ebuild, line 47:   Called java-pkg_dojavadoc 'dist/docs/api'
  java-utils-2.eclass, line 517:   Called die

!!! dist/docs/api does not exist, or isn't a directory!

Comparing ebuild and work dir, I modified the ebuild like this:

--- commons-io-1.2.ebuild.orig
+++ commons-io-1.2.ebuild
@@ -44,6 +44,6 @@
        java-pkg_newjar build/${P}.jar ${PN}.jar

        dodoc RELEASE-NOTES.txt NOTICE.txt || die
-       use doc && java-pkg_dojavadoc dist/docs/api
+       use doc && java-pkg_dojavadoc build/dist-build/${P}/docs
        use source && java-pkg_dosrc src/java/*
 }

------- Comment #1 From Martin von Gagern 2007-01-22 11:39:53 0000 -------
Created an attachment (id=107772) [details]
fixed commons-io-1.2.ebuild

This is the ebuild with my modification applied.

------- Comment #2 From Vlastimil Babka (Caster) 2007-01-22 12:40:01 0000 -------
Fixed, thanks!
In the future please don't attach ebuild, but the patch instead of inlining it.
Thanks.