Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Compiling Multiple Directories Cleanly

807606Mar 13 2007 — edited Mar 14 2007
Hello all,

Right now I have something along the lines of:

javac -cp aaa aaa/tests/*.java aaa/dir2/*.java aaa/dir3/*.java

These aren't the actual names and I also have many more paths in the compile string. I noticed there is something where you can do:

java -cp aaa @compile_path

However, when I put something like aaa/tests/*.java in the compile_path file it says *.java can't be found. However, if I put in a direct file name like aaa/tests/Class.java it will compile.

Does anyone know how I can clean up my compiling?

Thanks,
Chris
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 11 2007
Added on Mar 13 2007
1 comment
58 views