Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
build-conf
conf
externals/plugins
host-conf
javadoc
test-sandbox
.project
LICENSE.EPL
MakingARelease.HOWTO
allElements.xml
api.xml
build.default.properties
build.developer.properties.sample
build.properties.template
build.xml
check-prerequisites.xml
cruise-mac.sh
customTargets.xml
download-dependencies.xml
javadoc.xml
make-release.rb
readme.txt
style.xsl

readme.txt

To build/run/test SWTBot from source and command-line you need to do the following:

Install Subversion Command-Line Client, Ant and Info-ZIP. Add them into your environment's command execution path.
Verify that you can execute these commands on your command-line: git, ant, unzip.

Checkout code:
 $ git clone http://git.eclipse.org/gitroot/swtbot/org.eclipse.swtbot.git swtbot
 $ cd swtbot/org.eclipse.swtbot.releng

Edit some properties file for your platform:
 $ cp build.developer.properties.sample build.developer.properties
 $ vi build.developer.properties (Change the os, ws, arch and eclipse.version parameters)

Copy the Eclipse SDK archive which you want to use into: /org.eclipse.swtbot.releng/externals

Create a target platform:
 $ ant materialize-workspace

Build swtbot and run all tests:
 $ ant

The build artifacts are generated in the org.eclipse.swtbot.releng/artifacts directory.


To develop SWTBot in in Eclipse IDE you need to do do the following:

Point your workspace root to the directory where you checked out SWTBot, then import all the swtbot projects.

Under Preferences>Target-Platform set the target platform(preferences>Plugin development>target platform) to the eclipse directory under the swtbot checkout.
Something went wrong with that request. Please try again.