Removing Date Comment from Apache's Ant PropertyFile Task

后端 未结 3 1295
南笙
南笙 2021-01-17 20:05

I\'m using the propertyfile task shown below in my build script:



        
3条回答
  •  离开以前
    2021-01-17 20:37

    Try:

    Edit: Which probably won't work :(. It looks like the culprit is actually Properties.store(OutputStream, String):

    Next, a comment line is always written, consisting of an ASCII # character, the current date and time (as if produced by the toString method of Date for the current time), and a line separator as generated by the Writer.

提交回复
热议问题