|
|
Re: install document [message #41165 is a reply to message #41135] |
Tue, 30 June 2009 06:19 |
|
Ketan Padegaonkar a écrit :
> There's a user guide linked from the home page:
> http://wiki.eclipse.org/SWTBot/UsersGuide
Personaly I found that document rather confusing. It talks about .releng
projects, dependencies not available and to be added manually, patched
versions of Eclipse frameworks, building update sites... All things
which seem targeted to SWTBot developers and not plain users.
I followed the following steps to test it under 3.4:
1. Add the update site URL provided on
http://www.eclipse.org/swtbot/downloads.php for your target (3.4 or 3.5)
2. From that update site, install both features "SWTBot SWT Features"
and "SWTBot Eclipse Features". Restart Eclipse.
3. To check if it is properly installed, open the "Run Configurations"
dialog. You should have a new category called "SWTBot Test".
4. Create a new plug-in projet to do a quick test.
5. Add the following dependencies:
org.eclipse.swtbot.swt.finder
org.eclipse.swtbot.eclipse.finder
org.junit4
6. Copy/paste the TestSampleDialog class from
http://wiki.eclipse.org/SWTBot/UsersGuide in that plug-in. There are
some deprecation warnings, but it should compile.
7. Select the TestSampleDialog class in the Package Explorer, and do a
"Run as > SWTBot Test". After a while you should see the new Eclipse
runtime opening and automatically creating a new Java project from the
wizard.
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04059 seconds