In a development workbench with Escripts 1.0.1 freshly installed from a local update site the DeletePropertiesFile.escript did not work. Instead of deleting the new.properties file the workbench would merely switch from the Package Explorer to the Navigator view. After taking out the <dialog> element, the following message was displayed in a dialog on the screen:
[Confirm Multiple Resource Delete]
Are you sure you want to delete these 0 resources from the file system?
This seems to be a pretty safe indicator that the <selection> element did not do its job. The same script worked fine in a runtime workbench that was spawned by the development workbench.
This problem occurred with Eclipse 3.1.0 on Solaris 10 (SPARC).
Logged In: YES
user_id=738867
Originator: YES
In Eclipse 3.2.1 on Windows XP the file was properly deleted, but running the script still had the side effect of switching from the Package Explorer view to the Navigator view.