Forum Discussion

Karbert's avatar
Karbert
Occasional Contributor
9 years ago

lastOpened property causes svn conflict

Hi,   We store the composite projects in SVN. After closing and reopening a project, a new property is added to the project's setting.xml file: lastOpened. Unfortunately this causes SVN conflict in...
  • Karbert's avatar
    9 years ago

    I've managed to "fix" this by removing the lastOpened attribute in a projectListener's beforeSave method:

     

    @Override
    public void beforeSave(Project project) {
        ProjectConfig pc = ((AbstractWsdlModelItem<ProjectConfig>) project).getConfig();
        pc.unsetLastOpened();
    }