The configFileModificationTimeStr property added for future use.
It will enable to merge user modified properties with the updated default ones.
1.1 --- a/vcs.advanced/src/org/netbeans/modules/vcs/advanced/CommandLineVcsFileSystem.java Thu Jan 10 15:35:24 2002 +0000
1.2 +++ b/vcs.advanced/src/org/netbeans/modules/vcs/advanced/CommandLineVcsFileSystem.java Thu Jan 10 15:56:42 2002 +0000
1.3 @@ -310,6 +310,12 @@
1.4 public String getConfigFileName() {
1.5 return configFileName;
1.6 }
1.7 +
1.8 + public String getConfigFileModificationTimeStr() {
1.9 + if (CONFIG_ROOT_FO == null) return "0";
1.10 + FileObject fo = CONFIG_ROOT_FO.getFileObject(configFileName);
1.11 + return fo.lastModified().toGMTString();
1.12 + }
1.13
1.14 private void setConfigFO() {
1.15 FileSystem dfs = TopManager.getDefault ().getRepository ().getDefaultFileSystem ();
2.1 --- a/vcs.advanced/src/org/netbeans/modules/vcs/advanced/projectsettings/CommandLineVcsFileSystemInstance.java Thu Jan 10 15:35:24 2002 +0000
2.2 +++ b/vcs.advanced/src/org/netbeans/modules/vcs/advanced/projectsettings/CommandLineVcsFileSystemInstance.java Thu Jan 10 15:56:42 2002 +0000
2.3 @@ -116,6 +116,7 @@
2.4 // Stuff from CommandLineVcsFileSystem
2.5 new PropertyDescriptor("config", CommandLineVcsFileSystem.class, "getConfig", "setConfig"),
2.6 new PropertyDescriptor("configFileName", CommandLineVcsFileSystem.class, "getConfigFileName", "setConfigFileName"),
2.7 + new PropertyDescriptor("configFileModificationTimeStr", CommandLineVcsFileSystem.class, "getConfigFileModificationTimeStr", null),
2.8 new PropertyDescriptor("cacheId", CommandLineVcsFileSystem.class, "getCacheId", "setCacheId"),
2.9 new PropertyDescriptor("shortFileStatuses", CommandLineVcsFileSystem.class, "isShortFileStatuses", "setShortFileStatuses"), //NOI18N
2.10 new PropertyDescriptor("VFSMessageLength", CommandLineVcsFileSystem.class, "getVFSMessageLength", "setVFSMessageLength"), //NOI18N