Problem
When several people work on a Processing library or tool via git, they usually have different operating systems, classpaths, sketchbook locations etc. These things are configured in build.properties, and are under version control (which is a bad thing).
Solution
- Create custom config files named
local.properties that are excluded from version control.
- Provide template files:
local.properties.tmpl that the developers need to copy and customize to their needs.
- Modify the build process to use both
local.properties and build.properties
Implementation
I already implemented a solution and opened a pull-request for the old repo, which you can find here:
processing/processing-templates#1
Problem
When several people work on a Processing library or tool via git, they usually have different operating systems, classpaths, sketchbook locations etc. These things are configured in
build.properties, and are under version control (which is a bad thing).Solution
local.propertiesthat are excluded from version control.local.properties.tmplthat the developers need to copy and customize to their needs.local.propertiesandbuild.propertiesImplementation
I already implemented a solution and opened a pull-request for the old repo, which you can find here:
processing/processing-templates#1