Closed GoogleCodeExporter closed 9 years ago
Accessing the docs requires access to the source code. There is, AFAIK, no
standard location for source code so implementing anything generic is hard. The
core development team has discussed this earlier and concluded the task is too
big compared to the benefits. Are you Kai interested in looking at this
yourself?
Original comment by pekka.klarck
on 19 Jul 2010 at 6:41
I could do this, if I would have a bit more plan about Python. The way would be
to search within the classpath for a file with the same name of the library
that ends on .java instead of .class. Having that I could develop some
javadoc-extractor for the methods. Have to think about that a bit.
Original comment by kai.hack...@gmail.com
on 19 Jul 2010 at 11:02
How about this idea: Instead of javadoc java libraries expose a map of the
method name to a string that contains the documentation as a static final field
with a name like METHOD_DOCUMENTATION? No access to the sourcecode required,
just can RIDE access that map field of a java class then?
Original comment by kai.hack...@gmail.com
on 21 Jul 2010 at 4:35
Why wouldn't you use dynamic libraries instead? They already support
documentation via getKeywordDocumentation method. See JavaLibCore project for
an easy way to use the dynamic API:
http://code.google.com/p/robotframework-javatools/wiki/JavalibCore
Original comment by pekka.klarck
on 21 Jul 2010 at 6:13
Ok, somehow I have missed that option before. Now investigating.
Original comment by kai.hack...@gmail.com
on 21 Jul 2010 at 8:32
1) Trying to locate source code is too big a task, compared to benefits, for
the core development team.
2) Adding special documentation mechanism for the static Java library API
doesn't really make sense when we already have that support in the dynamic API.
=> WontFix. If Kai or someone else is interested to work with 1) this can be
reopened.
Original comment by pekka.klarck
on 30 Aug 2010 at 3:15
Original issue reported on code.google.com by
kai.hack...@gmail.com
on 19 Jul 2010 at 4:30