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

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Feb 16 09:17:11 EST 2010


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

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

I see the importance of keeping property as is. 
At the same time, leading backslash is not part of property, that is in runtime, when java.util.Properties object is created, propertiesLocation is equal to ${user.dir}/src/main/config/application.properties, without '\'. In JBoss Tools Properties editor, Source tab should keep all symbols of original source, but Properties tab displays and allows to edit runtime properties in native languages ruther than sequences \uXXXX.
Solution can be as follows. A property remains unmodified in source until it is edited by user in Properties tab. As soon as user modified a property with Edit dialog at Properties tab, its new value will be saved to source as converted from the runtime value, without an attemt to merge the result with extra symbols of which runtime value was not aware.


> 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