The Java programming thoughts and notes of a Senior SQA engineer.
Thursday, January 5, 2012
DOS batch script to edit property files for Java projects
This is a DOS batch file function to edit property files. I use this in scripts that start my Java projects. This edits properties in place without reordering the file contents.
While I'm sure I can find uses for this, I have to ask... why didn't you use Maven resource filtering or something similar to prepare your properties?
ReplyDeleteI am looking into using Gradle .
ReplyDelete