processing-templates
processing-templates copied to clipboard
Making Processing-Templates fit for Git
Problem
When several people work on a Processing library or tool via git, they usually have different classpaths, sketchbook locations etc. These things are configured in a file that is currently under version control (which is a bad thing).
Solution
- Create custom config files named
local.propertiesthat are excluded from version control. - Provide template files:
local.properties.tmplthat the developers need to copy and customize to their needs. - modify the build process to use both
local.propertiesandbuild.properties
couldn't you just add this first line
<property file="./resources/local.properties" />
to the top of your build.xml to achieve the same? i didn't check, but it even shouldn't matter if the file doesn't exist.
ah, sorry, i just realize thats exactly what you did. why all the other changes then? looks like a big change for an easy problem :)