If you don't have a ~/Development directory, make one:
cd ~
mkdir Development
Go into the Development directory:
cd ~/Development
Clone and build the repository:
git clone [email protected]:maritimeplanning/mmv-package-res.git
cd mmv-package-res
mvn install
Go back to the development directory:
cd ..
Clone the MMV repository:
git clone [email protected]:maritimeplanning/MMV.git
Go into the MMV directory and intialize the submodules (this will take a minute or two):
cd MMV
git submodule update --init
This will take a bit of time and download a fair bit of stuff
mvn install
This step will build out the "runnable" MMV development configuration. The "MMV" will be "installed" to MMV/MapCore/target/
, where System
and UserData
directories will be created.
Start NetBeans, Select "File-->Open Project" and navigate to the ~/Development
directory - open the MMV project. Note, clicking "Build" (the Hammer icon) is the same as running mvn install
, so you don't need to do it.
Expand the MMV node, then the "Modules" node, and double click on MapCore to open the MapCore project.
Right click the MapCore project and select "Set as Main Project"
NOTE: If you don't have the "Set as Main Project" option, go to the "Run" menu, choose "Set Main Project", and select "MapCore"
Then try running MMV by clicking the "Play" button. If it starts up, you're good to go.
Unless you need to do work with a module/accessory which is NOT already part of MMV, stop here - you're good to go.
Go back up to your Development directory, and then clone the Thresholding repository:
cd ~/Development
git clone [email protected]:maritimeplanning/Thresholding.git
Build the accessory:
mvn install
To make the Thresholding accessory available to MMV, you need to run the following script (which is in the Thresholding directory):
cp2mmv
NOTE You must repeat step #3 EACH TIME you make a change to the Thresholding code