...
Running the Broker within Intellij
TODO
Running System Tests within Intellij
expand on this.
You need to
- specify QPID_WORK and QPID_HOME in the "VM options"
- set the class path to "qpid-broker"
- set the working directory to the root source folder
- add dojotoolkit and bdb to the "qpid-broker" module dependencies
Running System Tests within Intellij
Running system tests from within IntelliJ requires a bit of fiddeling. You first create a template configuration which you then need to adapt every time you want to run a different systest. This means this method does not support running the entire test suite.
- Add a new Configuration
- "Run" --> "Edit Configurations..."
- Press the plus sign at the top left to add a new configuration and select "JUnit"
- Change the name to "Systest"
- Add these to the "VM options"
- -Dprofile.virtualhostnode.context.blueprint='{"type":"ProvidedStore","globalAddressDomains":"${dollar.sign}{qpid.gloabalAddressDomains}"}'
- -DQPID_HOME=<your Qpid home path>
- -DQPID_WORK=<your Qpid work path>
- -Dqpid.globalAddressDomains=[]
- Change the "Working Directory" to point to your source root folder (i.e., the folder containing the systests folder)
- Set "Use classpath of mod..." to "qpid-systests"
- When you want to actually run a specific test, copy the fully qualified class name of the test into the "Class" field of this configuration before executing it.
TODO