Skip to end of metadata
Go to start of metadata

This is a quick and dirty setup for using remote applications under tests in Q7. This method assumes that developer Eclipse is used as target platform, therefore it is enough to "install" parts of Q7 Runtime right into developer's Eclipse.

If you use target platform, the setup is basically the same, but instead of putting plugins into dropins folder they can be put into some directory which then can be added to target platform. Plus, you might need to install AspectJ Developer tools ( into your developer Eclipse because of some AspectJ issues (see

While describing paths, we assume the following:

  • q7 – Q7 install location
  • eclipse – Eclipse install location
  • runtime-dropineclipse/dropins/q7runtime/eclipse

Follow these steps:

  1. Make directory runtime-dropin with two subdirs – features and plugins.
  2. Copy q7/plugins/com.xored.q7.updates.galileo_qualifier.jar/dependencies/features/ into runtime-dropin/features/, same for plugins
  3. Copy q7/plugins/com.xored.q7.updates.runtime_qualifier/q7/features/ into runtime-dropin/features/, same for plugins (Warning com.xored.q7.updates.runtime.e4x for Eclipse 3.8, 4.2))
  4. Four plugins from q7/plugins/com.xored.q7.updates.runtime_qualifier/q7/plugins/ have to be copied right into eclipse/plugins:
    • org.eclipse.equinox.weaving.aspectj_qualifier.jar
    • org.eclipse.equinox.weaving.hook_qualifier.jar
    • org.aspectj.runtime_qualifier.jar
    • org.aspectj.weaver_qualifier.jar 
  5. Start eclipse
  6. In AUT launch configuration, on Arguments tab and add VM args:

    -DteslaPort=7926 -DeclPort=5378 -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
  7. In AUT launch configuratoin, on Plugins tab, select Launch With: plug-ins selected below only and select all plugins under Target platform node
  8. Under Target platform node, find org.eclipse.equinox.weaving.aspectj plugin and set Start level to 1 and Auto-Start to true.
  9. Run application-under-test.
  10. Start AUT. In Window->Preferences you should see Q7 Runtime preference page indicating that servers are active
  11. Start Q7. Go Run -> Run configurations... and create new Remote Application Under Test. Set ports as in AUT arguments and click Run.
  12. Now Q7 should work fine with remote AUT