This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 8993 - After Ant execution, filesystems should be refreshed
Summary: After Ant execution, filesystems should be refreshed
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 minor (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 9477
Blocks:
  Show dependency tree
 
Reported: 2000-12-25 14:47 UTC by Jesse Glick
Modified: 2003-02-12 19:19 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2000-12-25 14:47:17 UTC
When an Ant target is finished executing, very likely some file visible in
Filesystems has been affected. It would be great to refresh all folders (much
like external compilation does). Unfortunately there is no way to reliably tell
which files Ant has been working on (unlike an external compiler whose effects
are predictable); and there appears to be no way thru the FileSystems API to ask
a filesystem to refresh all folders which it has loaded in memory, without
triggering a scan of folders it was not even paying attention to.
Comment 1 Jan Chalupa 2001-03-12 09:16:24 UTC
Version: 'Dev' -> 3.2
Comment 2 Jan Chalupa 2001-05-05 19:23:20 UTC
Target milestone -> 3.3
Comment 3 Jesse Glick 2001-06-17 00:36:05 UTC
Maybe all file-valued properties of tasks which were executed could be tracked,
as a starting point?? Still does not cover everything, but definitely an
improvement.
Comment 4 Jan Chalupa 2001-11-27 10:41:16 UTC
Target milestone -> 3.3.1
Comment 5 Marek Grummich 2002-07-22 08:18:34 UTC
Target milestone was changed from '3.4' to TBD.
Comment 6 Jesse Glick 2003-02-12 16:18:27 UTC
Never noticed that #9477 was fixed. In fact it works fine. Patch is
easy and seems to work as expected, and seems fast enough - only known
files in the FS are refreshed,
Comment 7 Jesse Glick 2003-02-12 16:31:30 UTC
Seems to work fine on CVS (command-line) FS too.
Comment 8 Jesse Glick 2003-02-12 19:19:38 UTC
committed     Up-To-Date  1.30       
ant/src/org/apache/tools/ant/module/run/TargetExecutor.java