RSS

 
WinEdt Macro Library  | program previous macro  | next macro

compilePrj

This macro is for use with WinEdt 5.3 or better. If you are using WinEdt 5.2, you have to use this version.

Description

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.
It then redirects error messages to a log file. (That's something Windows9x cannot do by itself.)

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).

Installation

Put the file in %b\Macros\program\ and make a Menu Item (Macro) in Options | Menu Setup:

Exe("%b\Macros\program\compilePrj53.edt")

You may need to specify the full path to javac, if it isn't in Windows' PATH variable.

Download

program/compilePrj53.edt

Macro contributed by Robert <w.m.lgmx.net>.

WinEdt Macro Library  | program previous macro  | next macro