The BCEL-builder module
The contents of this directory are:
- This file
- build.xml -- an ant script
- patch.txt -- a diff patchfile
And pretty much nothing else. Well, then, what do you do with
this directory? Well, the whole point is to generate bcel/bcel.jar in
the lib package. To do so, first stick
bcel-5.1-src.zip in this directory, then run ant.
After much unzipping, patching, and compiling, you should get an
appropriate bcel.jar file. Now put it in the appropriate place.
If there's something wrong with the bcel.jar in the lib
project, well, then you've got some development to do. You'll need
to know some more ant targets. But before anything, get that
bcel-5.1-src.zip and stick it in this directory.
- ant unpack -- unpack the sources for the AspectJ-version of BCEL
into the src subdirectory. Though you probably
don't care, this invokes the following subtasks:
- ant extract -- extract the contents of bcel-5.1-src.zip
into the bcel-5.1 directory.
- ant patch -- apply the patchfile patch.txt to the
bcel-5.1/src directory, creating
src.
- ant pack -- pack the sources for AspectJ's version of bcel back
into a tiny little patchfile. This uses exec, and requires that you
have diff somewhere on your path. Actually, it's much worse: it
requires you have diff.exe somewhere on your path. I hate that I'm
turning into a windows whore.
- ant clean -- get rid of everything extraneous in preparation for
a checkin.