processing-templates icon indicating copy to clipboard operation
processing-templates copied to clipboard

Making Processing-Templates fit for Git

Open craftoid opened this issue 12 years ago • 2 comments

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.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

craftoid avatar Feb 05 '13 00:02 craftoid

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.

kritzikratzi avatar Jun 13 '13 02:06 kritzikratzi

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 :)

kritzikratzi avatar Jun 13 '13 02:06 kritzikratzi