[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] framework extension bundle and rt.jar versus tools.jar
|
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). Compiling a bundle that has the rt.jar packages in the Import-Packages manifest
header works, while the bundles which need the tools.jar packages do not work. Maven is able to resolve the dependencies, but the compiler can’t process the actual “import com.sun.javadoc.ClassDoc;” statement, failing with “ClassDoc cannot be resolved to a
type”.
In a previous thread here Tobias suggested we not use these packages but also mentioned that a system bundle fragment was a possible workaround, so I’m trying to use that since I can’t control developers rewriting the code.
Is it a compiler classpath problem?
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.