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.

2 comments:

  1. 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?

    ReplyDelete
  2. I am looking into using Gradle .

    ReplyDelete