11-18-2010 10:13 AM
Hi,
I have developed an application using Eclipse. I am now trying to use the Javadoc tool to generate documentation. I get lots of errors such as
package net.rim.device.api.system does not exist
import net.rim.device.api.system.PersistentObject;
package net.rim.device.api.util does not exist
import net.rim.device.api.util.Persistable;
cannot find symbol
symbol: class Persistable
public class Currency implements Persistable {
I think it can't find the BB documentation to link against but on the 2nd page of the javadoc tool I select the net_rim_api.jar - file:/C:/Eclipse/plugins/...
so links should be generated.
One of my classes implements the interface Persistable but as a result of this error this isn't documented and there is no link to the Persistable documentation. It just says it extends class Object.
Has anyone else found this problem and have a solution? I can only find other posts about people not being able to see the Blackberry API documentation when they are developing rather than when generating JavaDocs.
Thanks for any help.
01-19-2011 01:18 PM
Unfortunately, i don't have any answers, but, i'd like to chime in and say i need help in this area, too.
03-16-2011 09:55 PM
I would just like to bring this up again, i am still have the same problem with generating javadocs from the blackberry project. Has anyone found a solution to this problem yet?
03-17-2011 04:55 AM
I eventually found a bit of a hack solution but it's far from ideal. Instead of building against a JRE system library I link against the blackberry jar as an external jar file. When you generate JavaDocs you can then check the jar to link against and specify the path to its JavaDocs. It seems to work and generate correct links to the BlackBerry documentation from mine but like I say, far from ideal.