1 Reply Latest reply: Mar 24, 2010 2:29 PM by 843810 RSS

    Option for optimized javac

      Hi All,

      I was wondering if there's an option for the compiler to automatically compile only the java files that are required (some other java class is using it). The reason that I am asking, is that in the Makefile I just collect all the java files using the "unix" find command and then run the compile and archive on them. And now I want to create a more specific "light" application from my java files but I do not want to manually list the java files, so I wanted something automatic. So I wondered if the javac (or the jar command) supplies an option to take out the classes that are not required.

      Hope I managed to make my self clear :)