Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] framework extension bundle and rt.jar versus tools.jar

Hi Justin,

> I have a framework extension bundle project in my reactor, and it
> exports packages from rt.jar (like javax.swing.plaf.swing) and packages
> from tools.jar (like com.sun.javadoc).

FWIW, we describe an alternative to a framework extension bundle  on our
blog [1]; we recently came across this technique

  Bundle-ClassPath: external:$java.home$/../lib/tools.jar
  Export-Package: com.sun.javadoc, ...

and are quite happy with it. Can you please elaborate some more on your
framework extension solution? Patrick, a GSoC student, who came up with
the above solution for his project might be interested in it.

> Is it a compiler classpath problem?

That being said, at compile time you still have to use
<extraClasspathElements> (also explained in the blog post).

Best wishes,


[1] <>

Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940

Back to the top