Author: max.andersen(a)jboss.com
Date: 2007-10-02 05:56:31 -0400 (Tue, 02 Oct 2007)
New Revision: 3958
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/action/server/ChangeTimeStampActionDelegate.java
Log:
JBIDE-929 actually call timestamp on file
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/action/server/ChangeTimeStampActionDelegate.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/action/server/ChangeTimeStampActionDelegate.java 2007-10-02
09:54:38 UTC (rev 3957)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/action/server/ChangeTimeStampActionDelegate.java 2007-10-02
09:56:31 UTC (rev 3958)
@@ -125,7 +125,8 @@
List<IFile> fs = getFilesToTouch(project);
for (int i = 0; i < fs.size(); i++) {
IFile f = (IFile)fs.get(i);
- f.touch(new NullProgressMonitor());
+ f.setLocalTimeStamp(System.currentTimeMillis());
+ f.touch(new NullProgressMonitor()); // done so deployers/listeners can detect the
actual change.
}
}
Show replies by date