-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"build.properties.sample" copies to "build.properties" within the build module folder #29
Comments
If your intent is for the build.properties to be standardised across the project, then I'd rather just commit build.properties directly, and have buildfile refer to something like mysite/build/build.properties Originally, build.properties could be configured per-developer, though I suspect over time this has become a less utilised capability, so is likely better served as a project specific thing |
I dont disagree with the above. That is a nicer solution and it means we can make the build properties varied on a per-project level. The issue I have currently is that build.properties gets created in the If you want me to do a PR for making build.properties.sample be copied to mysite/build/build.properties, I can do so :) |
Yeah, if you can take a look at it that'd be ace. |
@nyeholt Is it fine if the That way the per-project configuration can simply contain the additional changes / deviations. I reckon it will make it easier to reason about how much it deviates from the base. (and the lack of its existence could just mean... only use the .sample?) |
As discussed, we wont do any inheritance considering issues previously hit with configs not applying as expected / etc. Gives us to less to think about and will probably be less error-prone. |
@nyeholt any update on this one? |
The problem
For some reason, the
build.properties.sample
file will copy itself tobuild.properties
within the same folder. This caused me to hit an issue where I:build.properties
, which only gets generated when you first spin up the project. Keep in mind this file is generated within thebuild
module folder so it is not committed up.The solution
Just use
build.properties.sample
within buildfile.xml and remove all references tobuild.properties.
The text was updated successfully, but these errors were encountered: