Samples > Samples Server and Console > Controlling the Samples Console > Running Samples from the Samples Console

Samples can be run directly from the Samples Console.

To run a sample directly from the Samples Console:

  1. Start the Samples Console. This automatically starts the Samples Server.
  2. When startup of the Samples Server is complete, locate in the Samples Explorer the sample you want to run.
  3. Double-click the node with the globe icon located inside the folder for that sample, to open its documentation page.
  4. Follow the instructions in the sections Installing this Sample and Running this Sample.
  5. If instructed to execute an Ant target, expand the sample's Ant build.xml node (identified by an Ant icon) and double-click the appropriate Ant target node (identified by a green target icon).
  6. To execute an Ant target with optional parameters:
    1. Type the required parameters in the Ant Target Properties text field (located just below the Samples Explorer), in the form Property1=Value1, Property2=Value2[, PropertyN=valueN].
    2. Double-click the appropriate Ant target node.

Related Tasks

Starting and Stopping the Samples Server Without the Samples Console

Related Samples and Tutorials

Tutorial: Debugging a Remote Rule Execution Server Application