diff --git a/project.ant/src/org/netbeans/spi/project/support/ant/ProjectProperties.java b/project.ant/src/org/netbeans/spi/project/support/ant/ProjectProperties.java --- a/project.ant/src/org/netbeans/spi/project/support/ant/ProjectProperties.java +++ b/project.ant/src/org/netbeans/spi/project/support/ant/ProjectProperties.java @@ -303,6 +303,7 @@ OutputStream os = _f.getOutputStream(_lock[0]); try { os.write(data); + cachedPropertiesFromFile = properties; } finally { os.close(); } @@ -317,6 +318,7 @@ OutputStream os = _f.getOutputStream(); try { os.write(data); + cachedPropertiesFromFile = properties; } finally { os.close(); }