<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Manage SWTBot bits used by builds and developers
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="http://community.jboss.org/people/nickboldt">Nick Boldt</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/docs/DOC-16087">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p style="margin: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; outline-width: 0px; font-size: 10pt; background-color: transparent;">JBT/JBDS builds and JBT/JBDS SWTBot tests developers have to use the same version of SWTBot to ensure consistency.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="margin: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; outline-width: 0px; font-size: 10pt; background-color: transparent;">Current version of SWTBot release used is specified in the target platform definition files (*.target) stored in SVN repository here: <a class="jive-link-external-small" href="http://anonsvn.jboss.org/repos/jbosstools/trunk/build/target-platform/">http://anonsvn.jboss.org/repos/jbosstools/trunk/build/target-platform/</a>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="margin: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; outline-width: 0px; font-size: 10pt; background-color: transparent;">There are two files available. <strong style="color: #ff0000; ">Multiple.target</strong> contains all the source URLs from whichc the target is built. <strong style="color: #ff6600; ">Unified.target</strong> contains the same IUs (installable units) but swaps out the URLs for our own JBoss mirror, located here: <a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/updates/target-platform/latest/">http://download.jboss.org/jbosstools/updates/target-platform/latest/</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="margin: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; outline-width: 0px; font-size: 10pt; background-color: transparent;">Open the .target file in&#160; your favourite Text or XML Editor, and search (CTRL-F or /) for "swtbot" to find the relevant IUs and their versions. ".feature.group" means "this feature and all its contained plugins".</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h5>Updating JBoss Tools Hudson Builds To The Latest SWTBot Release</h5><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="margin: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; outline-width: 0px; font-size: 10pt; background-color: transparent;">When SWTBot needs to be updated, verify your tests will still work with the latest release:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ol><li>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.<ul><li>If there are compilation errors, fix them or report them in JIRA. Test locally before committing changes to the tests back to SVN</li></ul></li><li>Update SWTBot target file to specify proper SWTBot release version and commit it to SVN. <ol><li>The easiest way to do this is to do a Maven build in the target-platform directory and generate the target platform repo locally. <ul><li>cd ~/trunk/build/target-platform; mvn3 clean install -P get.<strong style="color: #339966; ">local.target</strong></li></ul></li><li>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.</li><li>As a result of running a build of the target platform locally, you can now <strong>OPTIONALLY</strong> use that repo instead of the remote one when running your builds. To activate this <strong style="color: #339966; ">local.target</strong> repo, do this:<ul><li>cd ~/trunk/build/parent; mvn3 clean install -P <strong style="color: #339966; ">local.target</strong></li><li>cd ~/trunk/build; mvn3 clean install -P<strong><em>componentToBuild</em></strong>,<strong style="color: #339966; ">local.target</strong></li></ul></li></ol></li></ol><p style="padding-left: 90px;">(where <em><strong>componentToBuild</strong></em> may be as, archives, esb, ... or as-bootstrap, archives-bootstrap, esb-bootstrap, ...)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>While a build will run automatically in response to your committed changes, you can also kick one manually to save time:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li><p><a class="jive-link-external-small" href="http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2.0.Beta2.target-platform/build">http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2.0.Beta2.target-platform/build</a></p></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h5>Updating JBoss Developer Studio ("Uberbuilder") Hudson Builds To The Latest SWTBot Release</h5><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ol><li>Create a collection of new zips of the for the updated releases.</li><li>Create new md5sums.</li><li>Publish them somewhere that Hudson can see them</li><li>Update the properties file that JBDS uses to access them:</li></ol><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li><a class="jive-link-external-small" href="http://svn.jboss.org/repos/devstudio/trunk/releng/org.jboss.ide.eclipse.releng/requirements/swtbot/build.properties">http://svn.jboss.org/repos/devstudio/trunk/releng/org.jboss.ide.eclipse.releng/requirements/swtbot/build.properties</a></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h5>Communication Strategy, or, Letting People Know About Changes</h5><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li><a class="jive-link-email-small" href="mailto:external-exadel-list@redhat.com">external-exadel-list@redhat.com</a></li></ul></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="http://community.jboss.org/docs/DOC-16087">going to Community</a></p>

        <p style="margin: 0;">Create a new document in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>