Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94189 - dev-java/jmi-interface-1.0 doesn't build jar files with doc USE flag. (patch provided)
Summary: dev-java/jmi-interface-1.0 doesn't build jar files with doc USE flag. (patch ...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-05-27 08:11 UTC by Nicolas Boichat
Modified: 2005-05-29 12:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Boichat 2005-05-27 08:11:06 UTC
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 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-27 08:46:16 UTC
fixed in cvs, thanks for reporting
Comment 2 Nicolas Boichat 2005-05-29 12:02:33 UTC
Works fine. Thanks.