Sep 11, 2009 at 10:01 AM
Edited Sep 11, 2009 at 10:01 AM
Hi SkipIsHere - glad u've found this project and it actually helps you :)
Hmm.. ok .. i fully understand what you mean but nope - I'm not under the impression that anyone has done this.
If it's a comment, it will be stripped. So, the first three things that come to my mind are
1) tweak the code so a 'custom' tag of some sorts might be used and post build, the start tag / end tag thingies get string replaced to a proper comment tag.
2) have another file which merges with the output. this other file is the prepending comment text that is required.
3) add a setting to theconfig file which accepts a key/value piece of data :: key = filename, value = comments to put at the top.
none of these solutions are actually very 'maintainable' though - they do add extra complexity. I personally wouldn't want to add them to the public drop due to that factor.
I'm sure there's a better way to handle it.
I'm guessing the comment is some stock standard stuff like 'This code is the property of my boss so bugger off' or whatever.
Keep us posted please :)