|
compilePrjIf you are using WinEdt version 5.3, you should use this version. DescriptionThis 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 two things:
InstallationPut the file in %B\Macros\program\ and make a Menu Item (Macro) in Options | Menu Setup: Exe("%B\Macros\program\compilePrj.edt") OptionsUnder WinEdt 9x, where it is not possible to redirect error messages from stderr to a file, you can use the program errout.exe ( http://www.horstmann.com/corejava/faq.html ) to achieve such redirection (i.e. to produce a log file). To do so, put errout.exe in a folder where Windows finds it and put something like the line errout javac -g -verbose %1 > %2 in %B\Bin\javac.bat. You then have to change in compilePrj.edt the lines that call the compiler to this: Run(''%B\bin\javac.bat ""%n.java"" ""%n.log""'') DownloadMacro contributed by Robert <w.m.l
|