Compiling Sub-Directories?

Is it possible to compile sub-directories on Windows? Such as, A file with .java, then inside that file is another file with .java, and then inside that file is another file with .java?

Another example:

+Folder 1

-.java files

-Folder 2

(Inside Folder 2)

-.java files

-Folder 3

(Inside Folder 3)

-.java files

My question is, is their a compiler for windows that is strong enough to compile sub files also? (Like linux's .xml's)

If you know how please help me out!

[537 byte] By [J-O-S-Ha] at [2007-10-2 11:23:33]
# 1
please help me!
J-O-S-Ha at 2007-7-13 4:27:42 > top of Java-index,Developer Tools,Java Compiler...
# 2

No, javac does not recursivly compile as you described. You can give it a list of files to compile. Additionally, it will usually compile all of the classes that are required by the parent program.

Instructions on its use are here:

http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html

You could also write ant scripts to do that. That's a separate product, Google for it.

ChuckBinga at 2007-7-13 4:27:42 > top of Java-index,Developer Tools,Java Compiler...