From b7cb32b47315334b87e821504aa8d41551f8a9a1 Mon Sep 17 00:00:00 2001 From: ehilsdal Date: Tue, 27 Jan 2004 19:24:46 +0000 Subject: [PATCH] initial stab at a bcel-building module --- bcel-builder/.classpath | 6 +++++ bcel-builder/.project | 17 +++++++++++++ bcel-builder/build.xml | 45 ++++++++++++++++++++++++++++++++ bcel-builder/patch.txt | 19 ++++++++++++++ bcel-builder/readme.html | 55 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 142 insertions(+) create mode 100644 bcel-builder/.classpath create mode 100644 bcel-builder/.project create mode 100644 bcel-builder/build.xml create mode 100644 bcel-builder/patch.txt create mode 100644 bcel-builder/readme.html diff --git a/bcel-builder/.classpath b/bcel-builder/.classpath new file mode 100644 index 000000000..795a5a614 --- /dev/null +++ b/bcel-builder/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/bcel-builder/.project b/bcel-builder/.project new file mode 100644 index 000000000..681642c6b --- /dev/null +++ b/bcel-builder/.project @@ -0,0 +1,17 @@ + + + bcel-builder + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/bcel-builder/build.xml b/bcel-builder/build.xml new file mode 100644 index 000000000..a12e7ef7c --- /dev/null +++ b/bcel-builder/build.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bcel-builder/patch.txt b/bcel-builder/patch.txt new file mode 100644 index 000000000..d1583af47 --- /dev/null +++ b/bcel-builder/patch.txt @@ -0,0 +1,19 @@ +diff -N -a -u -r -b bcel-5.1/build.xml bcel/build.xml +--- bcel-5.1/build.xml 2003-04-25 09:06:14.000000000 -0700 ++++ bcel/build.xml 2004-01-27 11:15:53.460625000 -0800 +@@ -65,7 +65,7 @@ + + + +- ++ + + +The BCEL-builder module + + + +

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.
  • +
+ + -- 2.39.5