Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "SWTBot/Dev Setup For Recorder Branch"
< SWTBot
(Initial version) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{SWTBot}} | ||
+ | |||
+ | == Preamble == | ||
+ | |||
+ | This page gives instructions in order to get started in using and developping for the '''old and deprecated''' recorder. If you'd like to use the new recorder integrated into SWTBot in early 2013, see [[SWTBot/Recorder]]. | ||
+ | |||
+ | == Instructions == | ||
+ | |||
Here are the instructions for setting up your development environment for the recorder branch. | Here are the instructions for setting up your development environment for the recorder branch. | ||
− | + | Follow instructions on the [[SWTBot/Contributing | SWTBot contribution]] guide to checkout and build the source. | |
− | + | ||
− | + | The source code for the recorder is located on a branch called "recorder-spike". | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
# To run the recorder with a standalone application, start org.eclipse.swtbot.swt.recorder.ui.Main with the name of your standalone app as an argument. For example, you can use org.eclipse.swt.examples.controlexample.CustomControlExample as the argument. | # To run the recorder with a standalone application, start org.eclipse.swtbot.swt.recorder.ui.Main with the name of your standalone app as an argument. For example, you can use org.eclipse.swt.examples.controlexample.CustomControlExample as the argument. | ||
# To run the recorder with an eclipse application, create an Eclipse Application launcher. Add the following code at an appropriate location where it will be called once. | # To run the recorder with an eclipse application, create an Eclipse Application launcher. Add the following code at an appropriate location where it will be called once. | ||
Line 22: | Line 26: | ||
* You can set -Dorg.eclipse.swtbot.recorder.actions.print=true as a VM argument to make the recorder print to console as it records events. | * You can set -Dorg.eclipse.swtbot.recorder.actions.print=true as a VM argument to make the recorder print to console as it records events. | ||
+ | |||
+ | [[Category:SWTBot]] |
Latest revision as of 07:42, 13 January 2013
SWTBot |
Website |
Update Sites |
Community |
Mailing List |
Forums/Newsgroups |
IRC |
Contribute |
Open Bugzilla tickets |
Open Gerrit reviews |
Browse Source |
Continuous Integration |
Preamble
This page gives instructions in order to get started in using and developping for the old and deprecated recorder. If you'd like to use the new recorder integrated into SWTBot in early 2013, see SWTBot/Recorder.
Instructions
Here are the instructions for setting up your development environment for the recorder branch.
Follow instructions on the SWTBot contribution guide to checkout and build the source.
The source code for the recorder is located on a branch called "recorder-spike".
- To run the recorder with a standalone application, start org.eclipse.swtbot.swt.recorder.ui.Main with the name of your standalone app as an argument. For example, you can use org.eclipse.swt.examples.controlexample.CustomControlExample as the argument.
- To run the recorder with an eclipse application, create an Eclipse Application launcher. Add the following code at an appropriate location where it will be called once.
Thread recorderThread = new Thread("SWTBotRecorder") { public void run() { new SWTBotRecorderWindow().createWindow(); } }; recorderThread.start();
- You can set -Dorg.eclipse.swtbot.recorder.actions.print=true as a VM argument to make the recorder print to console as it records events.