[160019] fixed cache to use getModificationStamp()
diff --git a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/builder/DependencyGraphManager.java b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/builder/DependencyGraphManager.java
index 7ef6462..00447e2 100644
--- a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/builder/DependencyGraphManager.java
+++ b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/builder/DependencyGraphManager.java
@@ -90,7 +90,7 @@
continue;
manifestFile = getTimeStampFile(projects[i]);
if (manifestFile != null && manifestFile.exists() && ComponentCore.createComponent(projects[i]) != null) {
- Long currentTimeStamp = new Long(manifestFile.getLocalTimeStamp());
+ Long currentTimeStamp = new Long(manifestFile.getModificationStamp());
timeStamps.put(projects[i],currentTimeStamp);
}
}
@@ -141,7 +141,7 @@
continue;
IResource wtpModulesFile = projects[i].findMember(IModuleConstants.COMPONENT_FILE_PATH); //$NON-NLS-1$
if (wtpModulesFile != null && wtpModulesFile.exists() && ComponentCore.createComponent(projects[i]) != null) {
- Long currentTimeStamp = new Long(wtpModulesFile.getLocalTimeStamp());
+ Long currentTimeStamp = new Long(wtpModulesFile.getModificationStamp());
timeStamps.put(projects[i],currentTimeStamp);
}
}
@@ -199,14 +199,14 @@
IResource wtpModulesFile = project.findMember(IModuleConstants.COMPONENT_FILE_PATH);
if (wtpModulesFile==null)
return false;
- Long currentTimeStamp = new Long(wtpModulesFile.getLocalTimeStamp());
+ Long currentTimeStamp = new Long(wtpModulesFile.getModificationStamp());
getWtpModuleTimeStamps().put(project,currentTimeStamp);
// Get the MANIFEST file for the given project
IResource manifestFile = getTimeStampFile(project);
if (manifestFile==null)
return false;
- currentTimeStamp = new Long(manifestFile.getLocalTimeStamp());
+ currentTimeStamp = new Long(manifestFile.getModificationStamp());
getManifestTimeStamps().put(project,currentTimeStamp);
return true;
}