1 Reply Latest reply: Mar 13, 2007 11:15 PM by 807606 RSS

    Compiling Multiple Directories Cleanly

    807606
      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