facebook

Property file with \, ends up eating the rest of the lines.

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #288233 Reply

    sphere41
    Member

    Hi,

    I have a property file with the following properties:

    #####################
    jndi.syntax.direction=left_to_right
    jndi.syntax.separator=,
    jndi.syntax.ignorecase=true
    jndi.syntax.escape=\\\\
    jndi.syntax.beginquote=\”
    jndi.syntax.beginquote2=’
    jndi.syntax.trimblanks=true
    #####################

    (In this post I had to put \\\\\\\\ to get \\\\, what you see would be \\\\ which is in the real property file, the application will get that as a \\ internally)

    On every edit of this file and saving it back, ends up with a file that misses the line following the line that ends with \\\\

    The IDE is interpreting the following line of the line with char \ to be a comment or something then ignores it while saving. So on frequent edit, it ends up eating all the following lines. Right now we have kept the line with \\\\ as the last line :).

    Any thing to solve this issues?

    #288262 Reply

    Loyal Water
    Member

    sphere41,
    I was able to reproduce this issue at my end as well. I’ll check with my dev team if they have a workaround but for the time being, you should leave the line with \\ as the last line. Sorry for the inconvenience.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Property file with \, ends up eating the rest of the lines.

You must be logged in to post in the forum log in