aspose file tools*
The moose likes Java in General and the fly likes Manifest Files in Java Beans .....Please Help me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Manifest Files in Java Beans .....Please Help me" Watch "Manifest Files in Java Beans .....Please Help me" New topic
Author

Manifest Files in Java Beans .....Please Help me

Saju purushothaman
Greenhorn

Joined: Mar 10, 2003
Posts: 3
I had created a Java bean file and a mnifest file
The contents of the manifest file is as follows
Name: Mybean.class
Java-Bean: True
My bean class filename is Mybean.class.I created a jar file using the following instruction
jar cfm mybean.jar mybean.mft mybean.class
It smoothly created the jar file.My problem is when I try to load jar from the 'File ,Load Jar' options .I throws an exception indicating that there is no bean in your jar file and instructed to make a manifest file eventhough i created the manifest file.So I request you any body please help me as early as possible
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Saju,
What IDE are you using to load the jar file? Is it possible that your bean is not in the default package? If it isn't then the fully qualified name should be used?

Michael Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Manifest Files in Java Beans .....Please Help me