Free Java Utility To Touch Files (Cross Platform)September 23rd, 2006 This is a simple commandline Java utility which I wrote down in under 5 minutes to help in checking-in (svn commit) over 500 files which were modified but the dates weren't changed due to an error in our settings. So subversion failed to recognize it.
How To Run Apache Ant Recursively From Any Sub-FoldersJuly 26th, 2006 The following command will recursively search for ant build file in the directories and then its parent directories, till it finds it; and then executes it. In short you can use this command to manage your project from any subdirectory of the project.
How To Clean Subversion DirectoriesJune 15th, 2006 When you checkout a repository from subversion it creates a .svn directory (with subdirectories) for every directory (and subdirectory) checked out. The .svn directory contains information about the repository and files in the directory and allows you to run svn commands without having to authenticate yourself in future.
How To Delete Property From java.util.PropertiesAugust 23rd, 2008 This isn't a trick question. For a long time you couldn't delete a property from java.util.Properties class.
How to Learn db40, Java and .NET Object Database, in 5 minutesMarch 15th, 2009 db4o is a popular object database available both for Java and .NET. I have used it sporadically over several years and can highly recommend it.
How To Use .htaccess to Prevent Apache HTTPD Directory ListingMarch 16th, 2008 Apache HTTPD servers are configured by default to display directory listing, when index files like index.htm or index.html of index.php etc. are not present in the directory.
How To Delete Trash From Command Line in Linux / Fedora Core 6May 2nd, 2007 The Trashcan on your Fedora Core desktop (tested for gnome) is actually located in ~/Trash directory. So a simple commaond as below should clear your trash:
rm -rf ~/.Trash/*
Why did I need this?
There were some files in the Trash can which I didn't have permission to clean.
JDK1.5 - More painful bugs aka Enumeration-Woes: Solved!August 29th, 2004 Current Status: Solved
Defect:
When more than one annotation type files are compiled in javac(any of the ways like *.java or @srclist or FileName1.java FileName2.java)
then it emits and error message that it cannot find symbol for statically imported Enums. However statically importing one level up and de-referencing works.
I can't Delete Files from my Linux Trashbin- SolutionMarch 13th, 2009 Annoyed with heap of file which are consuming space in your trash bin and you can not do a thing about it? Every time you try to delete it from there, permissions violation errors generate. So what do you do? Will you keep it there ignoring anything? Well, I haave a solution for you.
How To Exclude Files From Displaying in Subversion Status Command?October 25th, 2006 Often you have files in your subversion directiory which you do not want to commit / check-in. Such files could be compiled files, intermediate files used for data processing etc.
PC antispyware 2010 removalAugust 6th, 2009 PC antispyware 2010 is a rogue of a software program. Upon getting many complaints about it from people and their requests to troubleshoot the removal technique, we finally got our hands on this program and oh boy, it was some experience.
How To Fix - Couldn't find per display information Error in Java ApplicationsJune 23rd, 2008 While running some Java applications (like Thinreader) you may see this strange looking error - Couldn't find per display information. You may find this error when running such applications in JDK 6 or later.
Subversion: How To Ignore Files From Status DisplayJune 23rd, 2007 In directories under subversion there may be files which you do not want to add to subversion. Normally such files would show in subversion status (svn stat) with ? in front of them.
How To Run Ant FTP / Telnet / Rexec TaskNovember 2nd, 2005 Ant (java software) from Apache Foundation is a popular build tool (often used successfully with other release management tasks) which replaces make. "Apache Ant is a Java-based build tool.
Subversion Hack: Automatic Versioning on Save With SubversionAugust 14th, 2007 I discovered a really cool way to use Subversion, my favorite version control system - automatic versioning / commit on save. Essentially with this simple tweak you can use subversioned files like you would use any ordinary files.
October 28th, 2008 at 10:18 pm
I have tried all possible DOS commands to delete the files recursively. These files were created in a loop by WSAD and there might be around 200-250 subdirectories. The file names & paths were too long to do anything. I crossed my fingers and tried the Delete class. It hardly took 2-3 seconds..
Thank You (and God)! I finally got rid of these unnecessary files.
October 29th, 2008 at 1:06 am
I am happy to hear that. Hope to see you more on our blog.
Take care,
Angsuman
January 10th, 2009 at 3:43 am
Bad chinese translate.
I can not understand it~~~(T_T)
August 16th, 2009 at 10:04 pm
Hi! I agree with SR… great utility class that’s gotten me out of a bind over the last three years more than a few times. Usually it takes a few seconds to rip through a bunch of nested directories (darn those sploggers) but today it’s been running for 20+ minutes. Moderate CPU usage though (~25%) so I’ll let it go for a while. My question: since I don’t have access to the code (nor do I need it… would be too tempting to make a change, ultimately hurting myself/wiping hard drive/etc.) is your sense that it’s doing good delete work (and that I just had a ton of nested dirs) or are there some points where it waits for something (file locks, etc)? Appreciate any feedback although I do realize you probably haven’t looked at or thought about this class in a few years. Take care, Joe