I'm developing a script with (Groovy/Java) which compare two folders and generate a diff patch file in zip format. The thing now is i have to ignore some file within the iteration because they should not be included in the patch file.
Requirement:
Create a configuration file (like gitignore file) which list the path of ignored files in the comparison process.
The problem:
I like to stick at convention/codestyle guidelines but now i cannot find any reference on how should this be done (not the code, i know how to do it) in terms of:
- the name, the extention and/or location of the file.
- the codestyle, how files should be listed (maybe i should copy gitignore pattern).
- Other things to consider.
I hope i've been clear and my question is within SO's topic scope.
Thanks in advance