This repository was archived by the owner on Oct 23, 2024. It is now read-only.
Making Processing-Templates fit for Git#1
Open
craftoid wants to merge 1 commit intoprocessing:masterfrom
Open
Conversation
For all three templates the build process was modified, so that local configuration for the build system can be seperated from the project configuration. This is required to allow several people to work on a library or tool via version control. Local configurations of the build system are now supposed to reside in 'local.properties', a file which is excluded from revision control Each template now has a 'local.properties.tmpl', that each developer needs to customize and copy to 'local.properties' For each of the three templates the following steps have been done: * create local.properties.tmpl * hide local.properties and distribution directory from revision control * update build process to parse both local.properties and build.properties * update changelog
|
couldn't you just add this first line to the top of your build.xml to achieve the same? |
|
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 :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
local.propertiesthat are excluded from version control.local.properties.tmplthat the developers need to copy and customize to their needs.local.propertiesandbuild.properties