...
Install the tools
- Maven 3
- Java SE JDK 7
- Subversion Client (command-line or UI-based, like TortoiseSvn)
- Eclipse IDE (Kepler 3.8 or earlier, must be RCP Development Edition)
Set up your directories
Linux
Code Block $ cd ~ $ mkdir -p marketcetera/workspaces/base/code
Windows
Create the same directory structure from your root device, like C:\metc\workspaces\base\code. Keep it as short as possible as there's a limitation in Windows on the length of filenames.
Download the source
Code Block $ cd ~/marketcetera/workspaces/base/code $ svn co https://source.marketcetera.org/root/trunk public
Build the source
Code Block $ cd metc $ mvn -DskipTests clean install eclipse:eclipse
Start Eclipse
- Set your workspace to marketcetera/workspaces/base
- Define a String Substitution that points to your Maven executable (Window->Preferences->Run/Debug->String Substitution)
- Set the target platform (Windows->Preferences->Plug-in Development->Target Platform)
- Select Add to create a new target platform
- Start with Nothing and click Next
- Name your target Marketcetera and click Add
- Choose Directory and click Next
- Browse to public/photon/maven/rcptarget/photon-target/eclipse and click OK
- Click Finish
- Click Finish
- Select the Marketcetera platform as the active platform and click OK
- Import projects (File->Import->General->Existing Projects into Workspace). Set the root directory to your top level code directory (marketcetera/workspaces/base/code/metc). Check Search for nested projects and select Finish. A popup may appear right away that says "build error". Just close this and ignore it. The code should build cleanly at this point.
...