I am developing an Eclipse plug-in extending an existing one which comes from Eclipse.
Inside I code I have added I need log4j and other classes that are inside other JAR built by me (but this is not a plug-in).
Using the Manifest Editor inside Eclipse I have added these two JARs in "Classpath" inside the "Runtime" tab and if I test my plug-in from inside Eclipse using "Run as Eclipse Application" everything is ok.
Problem comes up when I try to export my plug-in because I get some "import can not be resolved" for classes that are inside one of my JAR.
To add these two JARs to my final JAR plug-in I edited the "Runtime Information" inside tab "Build".
In the Manifest.MF tab I can see these two JARs added with:
In fact during export the second JAR is included, but I get "import can not be resolved" inside a log file (created during export).
Why? How can I solve?
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop