Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1322 by [email protected]: Problem generating lib doc from a java library
http://code.google.com/p/robotframework/issues/detail?id=1322

Hi,

I'm not sure if this is a defect or if there is usage error from my side.

I'm trying to generate the lib doc to a java library that I wrote.
This java library is to be used at robot tests and I would like to have the keyword completion at ride.

I'm running the following command from the folder where I have my class EventSender.java: CLASSPATH=/usr/lib/jvm/java-6-openjdk/lib/tools.jar:robot_datasym_javalib-DYNAMIC-SNAPSHOT.jar jython ~/robotframework-2.6.3/tools/libdoc/libdoc.py -o EventSender.xml EventSender.java

and I'm getting the error:
Traceback (innermost last):
  (no code object) at line 0
  File "/home/robotframework-2.6.3/tools/libdoc/libdoc.py", line 96
            with open(outpath, 'w') as outfile:
                 ^
SyntaxError: invalid syntax

I also tried to run the command using the EventSender.jar (which include my classes) instead of the EventSender.java, and the error was the same.

Versions:
Robot Framework 2.6.3
Jython 2.2.1 on java1.6.0_35


Thank you,
Sónia Won



Reply via email to