cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AddProfString duplicating comment lines

Function 'AddProfString()' is duplication comment lines, is there is not a blank line before the comment.

My example .propertie file
=========================
[PluginPolicy.Management]
classpath=C:\OpenEdge\117\DLC/java/ext/commons-logging-1.2.jar
# My comment directly after the last line of a group

[PluginPolicy.Progress]
=========================


Execute this line of InstallScript code:
> AddProfString ("c:\AdminServerPlugins.properties", "PluginPolicy.Management", "testVar", "testValue"


Then my example .propertie file becomes:
=========================
[PluginPolicy.Management]
classpath=C:\OpenEdge\117\DLC/java/ext/commons-logging-1.2.jar
# My comment directly after the last line of a group
testVar=testValue
# My comment directly after the last line of a group

[PluginPolicy.Progress]
=========================

Where the "# My comment... " line is duplicated.

Can this be resolved in future versions ?

Labels (1)
0 Kudos
(0) Replies