Manage SWTBot bits used by builds and developers

Version 5

    JBT/JBDS builds and JBT/JBDS SWTBot tests developers have to use the same version of SWTBot to ensure consistency.


    Current version of SWTBot release used is specified in the target platform definition files (*.target) stored in SVN repository here:


    There are two files available. contains all the source URLs from which the target is built. contains the same IUs (installable units) but swaps out the URLs for our own JBoss mirror, located here:


    Open the .target file in  your favourite Text or XML Editor, and search (CTRL-F or /) for "swtbot" to find the relevant IUs and their versions. "" means "this feature and all its contained plugins".


    Updating JBoss Tools Hudson Builds To The Latest SWTBot Release


    When SWTBot needs to be updated, verify your tests will still work with the latest release:


    1. Compile complete SWTBot test suite in your workspace (using M2Eclipse) or via commandline (using Tycho) to verify updated SWTBot release does not break your tests.
      • If there are compilation errors, fix them or report them in JIRA. Test locally before committing changes to the tests back to SVN
    2. Update SWTBot target file to specify proper SWTBot release version and commit it to SVN.
      1. The easiest way to do this is to do a Maven build in the target-platform directory and generate the target platform repo locally.
        • cd ~/trunk/build/target-platform; mvn3 clean install -P
      2. This will fetch all the contents from the target platform, and update the .target files to use the versions found in the repo you generate locally. You can also update the .target files by hand, if you prefer, but the automated approach is easier and less error-prone.
      3. As a result of running a build of the target platform locally, you can now OPTIONALLY use that repo instead of the remote one when running your builds. To activate this repo, do this:
        • cd ~/trunk/build/parent; mvn3 clean install -P
        • cd ~/trunk/build; mvn3 clean install -PcomponentToBuild,

    (where componentToBuild may be as, archives, esb, ... or as-bootstrap, archives-bootstrap, esb-bootstrap, ...)


    While a build will run automatically in response to your committed changes, you can also kick one manually to save time:



    Updating JBoss Developer Studio ("Uberbuilder") Hudson Builds To The Latest SWTBot Release


    1. Create a collection of new zips of the for the updated releases.
    2. Create new md5sums.
    3. Publish them somewhere that Hudson can see them
    4. Update the properties file that JBDS uses to access them:



    Communication Strategy, or, Letting People Know About Changes


    It's important to let others know that you've updated the SWTBot baseline against which everyone's tests will be run. Send an email to the mailing list here: