1. ProductLibrary can only proxy for one of the underlying libraries at a time. With its default set of configuration parameters it proxies for the DeviceLibrary.
2. The DesktopLibrary is a remote library written in Java and run under a JVM without using jython. Thus, as far as I know, its get_keyword_documentation method has no way to get the documentation at run time. If there is a way to do this in Java, please let me know 'cause my Java skills are rather lacking.
So, however this is done, I think I'd need to run libdoc.py twice on the same library and then somehow combine the results. That's really the focus of this question to the user group.
Thanks,
Martin
> -----Original Message-----
> From: GerhardH [mailto:gerhard....@nsn.com]
> Sent: Tuesday, March 15, 2011 4:03 AM
> To: Taylor, Martin
> Subject: Re: libdoc documentation for RIDE
>
> Hello Martin,
>
> did you try to call libdoc.py on your proxy ProductLibrary?
>
> I did not quite understand your construction, but I have a
> library to access proprietary GUI controls in our
> application; this library (written in
> Java)
> extends RobotFrameworks SwingLibrary.
>
> When I call libdoc.py -f XML myLibrary, it generates a XML
> file with my own keywords and keywords that are implemented
> in SwingLibrary.
>
> I assume that this could work in your case also.
>
> Best regards
> Gerhard
I think this is the easiest solution. The format of the XML spec files
produced by libdoc.py and understood by RIDE is so simple that
combining them ought to be easy to automate.
Potentially libdoc.py could be enhanced so that it accepts multiple
libraries as an input and produces one combined spec file. This
shouldn't be too complicated but we needed to decide how to handle
the general library documentation. RIDE currently doesn't show that at
all but it's visible in the HTML versions.
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org