[jbosstools-issues] [JBoss JIRA] (JBIDE-8855) Properties Editor doesn't reflect external changes to properties file

Jeff Headley (JIRA) jira-events at lists.jboss.org
Thu Feb 7 16:18:51 EST 2013


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

Jeff Headley commented on JBIDE-8855:
-------------------------------------

I think this should be reopened and addressed. Here is a scenario that has been happening to us:

Have developer1 check in a change to a properties file. A different developer, developer2, has the properties file open in the JBoss Properties Editor. Do an update from svn or a git pull or whatever. The JBoss Properties Editor does not refresh. If you open the file in your favorite text editor however, you can see the changes. Now when developer2 makes a change and saves and commits, those changes from developer1 were just lost. This has caused a fair amount of problems in our organization recently until we finally realized it only happened to properties files. If this won't be fixed, then I guess our work-around is to stop using the JBoss Properties Editor?
                
> Properties Editor doesn't reflect external changes to properties file
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-8855
>                 URL: https://issues.jboss.org/browse/JBIDE-8855
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 3.2.1.M1
>         Environment: jbdevstudio-product-linux-gtk-4.1.0.v201105011951R-H359-M1, linux 32bit, java sun jdk 1.6_24
>            Reporter: Vlado Pakan
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M5
>
>
> Create project with .properties file
> Scenario 1:
> - open .properties file with JBoss Tools Properties Editor
> - remove .properties file from project via OS command
> - click on .properties file in JBDS
> - file disappear, expected behavior is to display dialog saying that file was deleted and asking if changes should be saved
> Scenario 2:
> - open .properties file with JBoss Tools Properties Editor
> - make some changes to .properties file via JBoss Tools Properties Editor and do not save them
> - make some changes to .properties file via external editor and save them
> - click on .properties file in JBDS
> - dialog informing that .properties file was externally modified and asking user if he wants to reload file is displayed
> - either user choose yes or no from this dialog changes are reloaded, expected behavior is that when user says no to reload changes changes are not reloaded

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list