Subject: hw5 solution bug...
From: Paul Freeman (pfreeman@ccs.neu.edu)
Date: Sun Nov 24 2002 - 11:33:36 EST
Hi Class -
I had made a last minute modification to my solution that I did not
thoroughly test. To make a long story short, my solution uses a
function in the AspectJ library that set's the current list file to be
used by AspectJ in a compile. It turns out that this function also
triggers AspectJ to build the project. When a user selects "build"
using my LoDchecker, my solution intercepts the list file for the
current build, replaces it with a list file I generate, builds the
project and then resets the list file when the build completes back to
the original one selected. So when I was resetting the list file, the
project was being rebuilt at the end without the LoDChecker.
I made a slight change which avoids resetting the list file and
subsequently rebulding the project with the original file. There is a
small issue now that is not being addressed, which I won't bother to go
into here. But at least for the moment, this solution will actually
produce a program that uses the LoDChecker. So if you are trying to see
if/how my solution works, use the latest version available.
Paul
This archive was generated by hypermail 2b28 : Sun Nov 24 2002 - 11:37:01 EST