-
Notifications
You must be signed in to change notification settings - Fork 1
BuildingSource
Yuriy Brun edited this page Jul 23, 2015
·
2 revisions
- Install mercurial on your computer. * For windows users, tortoise hg is recommended
- Get the source code invoking the command:
hg clone https://[email protected]/p/quick-fix-scout/
(from either UI or command line) * This will download the source in a directory called quick-fix-scout in your current working directory.
- Make sure you are running Eclipse 3.7.0 Classic (Current featured download is Eclipse 3.7.1 and the plug-in will NOT work with that version).
* You can check Eclipse version from
Help -> Eclipse SDK
in Eclipse * Download Eclipse 3.7.0 Classic. - Create a new workspace.
- Import the projects in the source by selecting
File -> Import -> Existing Projects into Workspace
1. Choose the folder (quick-fix-scout) you have checked out with mercurial. 1. Select all projects (default), do NOT choose copy projects into the workspace.- This way your changes will also change your working copy of mercurial so that you can easily pull, commit and push the changes.
- You should get 15 projects in the Eclipse
Package Explorer
orNavigator
view. * After this point, your project will have build errors, these are due to the fact that external libraries needs to be imported as plug-ins (which we will do in the next step), so don't worry.
Quick Fix Scout uses three external jars (javax.mail and two libraries implemented by me). jar file for javax.mail is included in EmailSender/lib
, which you already imported and the other jars are in quick-fix-scout/lib
.
- Select
File -> New -> Other -> Plug-in from Existing JAR Archives
- Select the jar file for mail.jar (respectively
TimeOperations.jar
andZipOperations.jar
) - Enter the following information about the new plug-in
Plug-in id: javax.mail (respectively com.kivancmuslu.www.time and com.kivancmuslu.www.zip)
Plug-in version: 1.1.0
Plug-in name: javax.mail (respectively Time and Zipper)
Plug-in Provider: Sun (respectively Kivanc Muslu)
* Note that you should be able to change some of these settings, however if you do and your project still has build errors, then you are on your own.
- Repeat this step for all three plug-ins At this moment your code should have no compilation errors.
- Create a run-configuration for Quick Fix Scout
*
Run ⇒ Run Configurations...
*Eclipse Application ⇒ New
*Name: Quick Fix Scout
*Main ⇒ Location
:${workspace_loc}/../runtime-QFS
* Optional: To enable assertions:Arguments ⇒ VM Arguments
:-ea
- Run the configuration by clicking
Run
button.
In case you cannot find run icon, I have added a screenshot below that contains the run icon in a red square:
TODO: Give link to code styles and development practices when added.