These are the instructions to build the CLAS12 coatjava software package. There are good instructions on the github repository. This page has comments to fill in any missing steps.
The coatjava package in the clas12-offline-software is the development branch. However, every developer should work on his or her own local branch. I did this for the CMENP group in my github account.
To make the branch, I did the folowing steps:
At this point, a local branch has been created in my repositiory under cmenpgroup/clas12-ofline-software. To download the software, I
> git clone https://github.com/cmenpgroup/clas12-offline-software.git
From here, I followed the build instructions on the CLAS12 repository.
On my Mac, the first time that I tried to build coatjava, I got an immediate error saying that the wget command was not found. I installed it with macports
> sudo port install wget
The first time I built coatjava, there was an error due to a python script. Nathan Baltzell fixed it in the CLAS12 development branch. I wanted to update my local branch without starting from scratch. To do this, I had to create a remote branch and sync to that. The instructions can be found here.