[
https://jira.jboss.org/jira/browse/JBIDE-5835?page=com.atlassian.jira.plu...
]
Snjezana Peco commented on JBIDE-5835:
--------------------------------------
In my opinion the property editor shouldn't change a file without any user
intervention (at least in the Source tab). The JBoss Properties editor changes it even if
the user hasn't edited the file.
Try the following:
- create a file with the following content
propertiesLocation=\${user.dir}/src/main/config/application.properties
using the Eclipse Properties editor or Text editor and don't close it
- the backslash character is shown
- open this file with the JBoss Properties editor
The Eclipse Properties editor will get dirty. No one editor will show backslash.
The JBoss Properties editor has changed the file even though the user hasn't changed
it. The change isn't saved, but only the JBoss Properties editor knows that. The other
editors treat the file as dirty. If the user saves the file using the Eclipse Properties
editor, backslash will be removed.
Anyway, the user can add backslash for different reasons. A property can be used in a
shell script, for instance...
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