I put this in the issue tracker, but I wrote a groovy script to delete every
file in the temp directory. Feel free to adapt it to however you need.
Change the first line to the correct directory however.
def directory = "C:\\Documents and Settings\\jlarsen\\Local Settings\\Temp"
//CHANGE ME
deleteDirectory(directory)
public void deleteDirectory(String directory){
File file = new File(directory)
file.listFiles().each{
println(it.getName())
try{
deleteDirectory(directory+"/"+it.getName())
}catch(Exception e){
//Do nothing. If the file is blocked, we don't care.
}
try{
it.delete()
}
catch(Exception e){
println(e)
//do nothing, if we can't delete the file, we don't care.
}
}
}
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/ZZdUISulUc8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.