Clone & Build legacy SPAR locally - bcgov/nr-spar GitHub Wiki
This page aims to help you clone and build legacy SPAR locally.
Requirements for cloning
- The git-svn plugin installed on your computer (Docs here)
- If you're on Apple Mac iOS, you may find this helpful: https://stackoverflow.com/questions/60869682/git-svn-is-not-a-git-command-mac
- Access to SPAR SVN trunk with your IDIR;
- The VPN connected;
Clonining steps
- Using the repo url (
http://repositories.nrs.gov.bc.ca/pub/svn/spar/trunk/
) run this command:
git svn clone --id <idir-username> http://repositories.nrs.gov.bc.ca/pub/svn/spar/trunk/ spar-svn
This will clone the entire trunk to the
spar-svn
directory. Replace with your IDIR username.
If everything went well, you will see java file names rolling up on your screen. After 15 minutes, more or less, it should finish. This is what it looks like on my computer:
Now we have the codebase, you can go ahead start building.
Requirements for building
Here
Building steps
Here