Hi, I think I am almost done with packaging the assignment deliverables.
There is one doubt I was hoping to get some advice about: I execute rmic successfully on the remote class and it is placed in the correct package structure: scjd\suncertify\remote\DataRemote_Stub.class
Then, everything seems ready to jar it all up into the final runme.jar (stub class included)
After creating the jar (in eclipse), the message is: "Export finished with warnings"
Warnings after the jar operation: JAR export finished with warnings. See details for additional information. Could not find source file attribute for: C:\scjd\suncertify\remote\DataRemote_Stub.class Source name not found in a class file - exported all class files in /scjd/suncertify/remote
So, I am not sure if the eclipse jar operation is looking for a DataRemote_Stub.java source. The class was generated by rmic itself (via a console command outside eclipse) without me having to write any source code, should I just ignore this warning from eclipse, or am I doing something wrong? Clearly the rmic stub generation part works successfully, so it has to be the jar creation. I will try doing it with ant, but not sure if will make any difference.
Thanks for your advice [ March 25, 2008: Message edited by: Dmitri Christo ]
Joined: Jan 19, 2007
pardon this question, problem solved. Just used the -keep flag with rmic
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com