Enter password: mysql> create database marketcetera; mysql> grant all on marketcetera.* to ‘marketcetera’@’localhost’ identified by ‘marketcetera’; mysql> flush privileges; mysql> \q
These instructions are for Linux, but are almost the same for Windows. If you installed MySQL as a service, you can omit the ‘@localhost’ part above.
Set up your directories.
Linux
$ 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.
$ 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 metc/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.