[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5835) JBoss Tools Properties editor always removes leading backslash (\)

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Feb 19 05:34:10 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-5835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12515363#action_12515363 ] 

Viacheslav Kabanovich commented on JBIDE-5835:
----------------------------------------------

On the second thought, I agree that there is theoretic argumentation (sometimes very true and quite useless) and there are very important practical cases. If the case of \$ is so much important that demands a solution, the solution exists.

At one point in the saving process we keep source representations of the old and new values (the old one is read as is from the source, the new one is rendered by java.util.Properties). We can check for tokens ...${...}... in both values, and if those in the old value are preceded with a single '\', then insert that symbol into the new value. Or, we can create a boolean preference (if the case justifies it), and if it is on, then $ is to be saved as \$ in tokens ...${...}.... 




> JBoss Tools Properties editor always removes leading backslash (\)
> ------------------------------------------------------------------
>
>                 Key: JBIDE-5835
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5835
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.0.3.GA
>            Reporter: Tihomir Surdilovic
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.1.1
>
>
> Using the JBoss Tools Properties Editor for entries which have a leading backslash this backslash gets removed by JTP. The editor should not remove these leading backslashes. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list