# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\cwebster\netbeans-5.5\xml\axi\src\org\netbeans\modules\xml\axi\impl # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: AXIModelImpl.java *** C:\cwebster\netbeans-5.5\xml\axi\src\org\netbeans\modules\xml\axi\impl\AXIModelImpl.java Base (1.1.2.40) --- C:\cwebster\netbeans-5.5\xml\axi\src\org\netbeans\modules\xml\axi\impl\AXIModelImpl.java Locally Modified (Based On 1.1.2.40) *************** *** 156,168 **** super.getAccess().setAutoSync(true); } /** * Sync started. */ protected void syncStarted() { ! try { ! getSchemaModel().sync(); ! } catch(IOException ex) { setState(Model.State.NOT_SYNCED); } } --- 156,176 ---- super.getAccess().setAutoSync(true); } + + public void sync() throws IOException { + try { + getSchemaModel().sync(); + } catch (IOException ioe) { + // ignore this exception this will be handled in sync started + } + super.sync(); + } + /** * Sync started. */ protected void syncStarted() { ! if (!getSchemaModel().getState().equals(Model.State.VALID)) setState(Model.State.NOT_SYNCED); } }