<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>94189</bug_id>
          
          <creation_ts>2005-05-27 08:11 0000</creation_ts>
          <short_desc>dev-java/jmi-interface-1.0 doesn&apos;t build jar files with doc USE flag. (patch provided)</short_desc>
          <delta_ts>2005-05-29 12:02:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>2005.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nicolas@boichat.ch</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>nicolas@boichat.ch</who>
            <bug_when>2005-05-27 08:11:06 0000</bug_when>
            <thetext>When the &quot;doc&quot; 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 &quot;jar&quot; AND &quot;javadoc&quot; targets to antflags when doc USE flag is enabled  (instead of adding only &quot;javadoc&quot;) .

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=&quot;&quot;
-       use doc &amp;&amp; antflags=&quot;${antflags} javadoc&quot;
+       use doc &amp;&amp; antflags=&quot;${antflags} jar javadoc&quot;
        use jikes &amp;&amp; antflags=&quot;${antflags} -Dbuild.compiler=jikes&quot;
        ant ${antflags} || die &quot;Failed to compile&quot;
 }</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyduck@gentoo.org</who>
            <bug_when>2005-05-27 08:46:16 0000</bug_when>
            <thetext>fixed in cvs, thanks for reporting</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nicolas@boichat.ch</who>
            <bug_when>2005-05-29 12:02:33 0000</bug_when>
            <thetext>Works fine. Thanks.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>