I take it you are not using the Maven build files? If so, you shouldn't
have to add anything to the manifest, because it is generated for you.
It might help to see your manifest along with the exceptions you are
getting.
-> richard
Garrett Headley wrote:
Hey there
I have a question about the Import-Package attribute in the manifest file. For a simple example, I
modified the extenderbased.circle such that instead of drawing the circle, I tried to load the png
from the file to draw the icon to the frame (in the draw method of Circle). So, using
javax.imageio.ImageIO to read the image in, I had to import a non-java.xxx package. So, I placed
"Import-Package: javax.imageio.ImageIO" in my manifest file. However, now when the
circle bundle is loaded, I get the host of exceptions following the "ClassNotFound"
exception for javax.imageio.ImageIO. I have no trouble importing the SimpleShape interface with
it's package name as an attribute, but for some reason it's not working with the javax.* packages.
Should be pretty easy to reproduce... I'm using java 1.5SE.
Thanks in advance for any help
Garrett
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]