Java : Java related items, personal opinions, coding, etc.
Updated: 2/2/2004; 2:42:23 PM.

 

Subscribe to "Java" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Tuesday, January 20, 2004

Do you do your Java development on Unix or on Windows and have Cygwin?  Do you explicitly import every class in your source files?  If you answered yes to both questions, then you can use this handy command to find all the classes imported by your source files:

find src/. -name "*.java" -type f -exec grep -H -n import {} ; |sed "s/^.*import \(.*\?\);/\1/g" | sort -u

Be sure to change directory (first parameter to the find command).

4:12:17 PM    comment []

© Copyright 2004 Tom Pierce.



Click here to visit the Radio UserLand website.

 


January 2004
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Dec   Feb

Search

 
How this works

Emacs Sources
 tsql-indent.el
 user-add-sql-folding-marks
 remove-line-boundary-in-region
 convert-camel-to-underscore

My Subscriptions
 Funny
 KM