This macro is for use with WinEdt 5.3 or better. If you are using WinEdt 5.2, you have to use this version.
This macro checks, which files of a Java project have been edited since the last compilation, and then calls the javac compiler only for these files.
The macro presupposes that all java files that belong to the project are opened. They don't have to be defined as a WinEdt project though (unlike for the previous version).
Put the file in %b\Macros\program\ and make a Menu Item (Macro) in Options | Menu Setup:
You may need to specify the full path to javac, if it isn't in Windows' PATH variable.
Macro contributed by Robert <w.m.lgmx.net>.