Compilation Guide
From OO Lab
(Difference between revisions)
(→Import CRUnit Projects) |
Latest revision as of 14:09, 12 July 2012
[edit] Download Eclipse
- Make sure you have JRE or JDK installed(Java SE 6 or greater is recommended).
- Go to Eclipse Download Site
- Navigate to "Eclipse for RCP and RAP Developers", click "Windows 32 Bit" or "Windows 64 Bit" to start downloading Eclipse.
[edit] Import CRUnit Projects
- Use Subversion to checkout the head version of CRUnit.
- URL: http://oolab.csie.ncu.edu.tw/svn/lukefan/CRUnit
- NOTE: The location of this project should be placed somewhere else, at least not a sub-folder of "lukefan".
- URL: http://oolab.csie.ncu.edu.tw/svn/lukefan/CRUnit
- Open Eclipse, go to File -> Import.
- Select "General" -> "Existing Projects into Workspace", then click "Next".
- Click the "Browse" button right behind "Select root directory" and navigate the folder selection dialog to the root of CRUnit project
- Make sure all sub-projects are selected then click "Finish".
[edit] Run / Debug the plugins
- Make sure there are no compilation errors for all projects.
- In Eclipse, compilation is done automatically while the source code is loaded / changed; you don't need to actually "compile" them.
- In the Package Explorer, right-click any one of the CRUnit sub-project, then select "Run as / Debug as" -> "Eclipse Application".
- After a few seconds, you shall see a new instance of Eclipse, which has CRUnit plugin installed.