Skip to content
ombre42 edited this page Jun 3, 2012 · 17 revisions

You can incorporate jrobotremoteserver into your project or use it as a standalone jar.

Programmatic Usage

    public class ServerLauncher {
        public static void main(String[] args) throws Exception {
            RemoteServer.configureLogging();
            RemoteServer server = new RemoteServer();
            server.addLibrary(MyLibrary.class, 8270);
            server.addLibrary(MyOtherLibrary.class, 8271);
            server.start();
        }
    }

Standalone Usage

First configure the CLASSPATH to include your libraries and jrobotremoteserver. Then do something like this:

 java org.robotframework.remoteserver.RemoteServer --library org.example.MyLibrary:8270 --library org.example.MyOtherLibrary:8271

Adding As a Maven Dependency

If and when it is added to a repo:

 <dependency>
    <groupId>org.robotframework</groupid>
    <artifactId>remote-server</artifactid>
    <version>1.0</version>
 </dependency>
Clone this wiki locally