Comment by teodesian:

{{{
Using additional Java libraries Due to the fact that java -jar does not read CLASSPATH environment variable, or offer any other way to alter the class path at startup, other Java libraries need to be inserted to the class path using the Xbootclasspath option.

For example, here's how the SwingLibrary? demo can be executed using the Robot Framework jar:

java -Xbootclasspath/a:lib/swinglibrary-0.14.jar:lib/registration-0.1.jar -jar robotframework-2.5.3.jar example.html
}}}

Why not just put robotframework.jar in the classpath, and then invoke org.robotframework.RobotFramework??

java -cp lib/swinglibrary-0.14.jar:lib/registration-0.1.jar -jar:robotframework-2.5.3.jar org.robotframework.RobotFramework? example.html

Helps those of us who have enormous CLASSPATHs set via env var.


For more information:
http://code.google.com/p/robotframework/wiki/JavaIntegration

Reply via email to