Bug 94189 - dev-java/jmi-interface-1.0 doesn't build jar files with doc USE flag. (patch provided)
Bug#: 94189 Product:  Gentoo Linux Version: 2005.0 Platform: All
OS/Version: All Status: CLOSED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: nicolas@boichat.ch
Component: Development
URL: 
Summary: dev-java/jmi-interface-1.0 doesn't build jar files with doc USE flag. (patch provided)
Keywords:  InCVS
Status Whiteboard: 
Opened: 2005-05-27 08:11 0000
Description:   Opened: 2005-05-27 08:11 0000
When the "doc" USE flag is enabled, dev-java/jmi-interface-1.0 only builds the
javadoc, and not the jar files.

This can be fixed by adding "jar" AND "javadoc" targets to antflags when doc
USE flag is enabled  (instead of adding only "javadoc") .

Patch :
jmi-interface-1.0.ebuild
--- /usr/portage/dev-java/jmi-interface/jmi-interface-1.0.ebuild       
2005-05-03 19:10:26.000000000 +0200
+++ jmi-interface-1.0.ebuild    2005-05-27 17:01:59.000000000 +0200
@@ -30,7 +30,7 @@

 src_compile() {
        local antflags=""
-       use doc && antflags="${antflags} javadoc"
+       use doc && antflags="${antflags} jar javadoc"
        use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
        ant ${antflags} || die "Failed to compile"
 }

------- Comment #1 From Jan Brinkmann (RETIRED) 2005-05-27 08:46:16 0000 -------
fixed in cvs, thanks for reporting

------- Comment #2 From Nicolas Boichat 2005-05-29 12:02:33 0000 -------
Works fine. Thanks.