Compile Logger for BlueJ

Compile Logger is a BlueJ "extension" (commonly called a "plugin") for tracking compilations and compile errors.

Installing Compile Logger on your personal computer

1. If you created a Bluej launcher on a CSL workstation, the Compile Logger is automatically included. You can skip this section.

2. Install the BlueJ IDE on your personal computer by downloading it then following the Installation Instructions.

2. Download the CompileLogger extension Version 2010.04.03 (JAR file).

The extension is installed by placing the extension JAR file into an extensions directory.

OS
Location
(Unix)
(Windows)
(Mac)
<USER_HOME>/.bluej/extensions
<USER_HOME>\bluej\extensions 
<USER_HOME>/Library/Preferences/org.bluej/extensions


3. Launch BlueJ.   From the Help menu, select "Installed Extensions".  You should see Compile Logger in the list.  Click on the question mark bubble for this entry; the Extension Details dialog should appear. Locate the name of the file to which compile events are logged.  By default, events are logged to bluej-compilelog.txt in the .bluej folder of your home directory.

Using Compile Logger

Sample log file

2008.03.30 13:41:14 Compile Started (1 file) HelloWorld.java
... compile succeeded.
2008.03.30 13:41:23 Compile Started (1 file) HelloWorld.java
Compile Error: line 10 ';' expected
... compile failed.
2008.03.30 13:41:26 Compile Started (1 file) HelloWorld.java
... compile succeeded.
2008.03.30 13:41:34 Compile Started (3 files) HelloWorld.java,HiWorld.java,ByeWorld.java
... compile succeeded.


Summary Script

Here is a simple bash script that will summarize the data in a log file.