Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174182 - create virtuals of logical subparts of tools.jar (javadoc, javac...)
Summary: create virtuals of logical subparts of tools.jar (javadoc, javac...)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 121141 java-virtuals 250923
  Show dependency tree
 
Reported: 2007-04-11 17:49 UTC by Petteri Räty (RETIRED)
Modified: 2023-06-05 08:35 UTC (History)
2 users (show)

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 Petteri Räty (RETIRED) gentoo-dev 2007-04-11 17:49:04 UTC
20:39 <@nichoj_work> initial thoughts:
20:40 <@nichoj_work> eclass wrapper to symlink, which records the fact in package.env. might need another function to just record it, if its not specifically needed at build time
20:40 <@nichoj_work> then update the gjl stuff to be aware of that, and add java-config --tools to classpath

at least dev-java/swat could use this
Comment 1 Marat Radchenko 2007-05-16 10:12:10 UTC
Also required to write good launcher for dev-util/idea.
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-06-09 16:24:41 UTC
Should be best done via virtuals (virtual/sun-tools-jar or something) instead of another eclass functions just for tools.jar. 
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-01-06 18:42:57 UTC
app-editors/jedit could use it (bug 204538)
for now I just used java-config --tools, because it's only a build dep

I think we shouldn't make virtual for whole tools.jar but only for parts of it, i.e. the com.sun.javadoc could probably be also provided by gjdoc, but the rest of tools.jar not.
Comment 4 James Le Cuirot gentoo-dev 2008-07-14 18:00:01 UTC
I actually made a virtual called jdk-tools at...
http://overlays.gentoo.org/proj/java/browser/java-overlay/java-virtuals/jdk-tools

It has been discussed in IRC that bug #231673 might be a better approach but Caster has pointed out that this would only apply at build time. I'll let you guys decide which to use, just wanted to make you aware that I've already created the virtual. :)
Comment 5 Patrice Clement gentoo-dev 2015-08-21 11:20:45 UTC
https://github.com/gentoo/java-overlay/commit/7d7e57658cdcb368114c135cebd7c9dbb179bd70

Please add it back James :(
Comment 6 Volkmar W. Pogatzki 2023-06-05 08:35:08 UTC
java-virtuals is going away and the eclass marked dead[1]. Closing

[1]https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38467a7d9ed3d80980f27ccf581ad1cbda75cb5f