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
Also required to write good launcher for dev-util/idea.
Should be best done via virtuals (virtual/sun-tools-jar or something) instead of another eclass functions just for tools.jar.
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.
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. :)
https://github.com/gentoo/java-overlay/commit/7d7e57658cdcb368114c135cebd7c9dbb179bd70 Please add it back James :(
java-virtuals is going away and the eclass marked dead[1]. Closing [1]https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38467a7d9ed3d80980f27ccf581ad1cbda75cb5f