You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aclement 6de5ccc14f Patch now includes the bcel fix for 62631. Also changed the bcel-builder build.xml to construct a bcel-src.zip that matches the bcel.jar - to ease debugging. 20 years ago
..
.classpath Fix for Bugzilla Bug 41125: 20 years ago
.project initial stab at a bcel-building module 20 years ago
build.xml Patch now includes the bcel fix for 62631. Also changed the bcel-builder build.xml to construct a bcel-src.zip that matches the bcel.jar - to ease debugging. 20 years ago
notamodule Created 'notamodule' in bcel-builder module - will the build system now ignore it correctly? 20 years ago
patch.txt Patch now includes the bcel fix for 62631. Also changed the bcel-builder build.xml to construct a bcel-src.zip that matches the bcel.jar - to ease debugging. 20 years ago
readme.html Patch now includes the bcel fix for 62631. Also changed the bcel-builder build.xml to construct a bcel-src.zip that matches the bcel.jar - to ease debugging. 20 years ago

readme.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html> <head>
<title>The BCEL-builder module</title>
</head>

<body>
<h1>The BCEL-builder module</h1>

<p> The contents of this directory are:
</p>

<ul>
<li>This file</li>
<li>build.xml -- an ant script </li>
<li>patch.txt -- a diff patchfile</li>
</ul>

<p> 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
<strong>bcel-5.1-src.zip</strong> in this directory, then run ant.
(at one point, this was available at
<a href="http://archive.apache.org/dist/jakarta/bcel/source/bcel-5.1-src.zip">
http://archive.apache.org/dist/jakarta/bcel/source/bcel-5.1-src.zip</a>)
After much unzipping, patching, and compiling, you should get an
appropriate bcel.jar file. Now put it in the appropriate place. </p>

<p> If there's something <em>wrong</em> 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
<strong>bcel-5.1-src.zip</strong> and stick it in this directory.
</p>

<p> There are five top-level ant targets apart from the usual "clean":</p>

<ul>
<li>ant extractAndJar -- this is just the composition of the extract,
jar and srcjar targets, and is the default. It extracts the source from bcel-5.1-src.zip,
patches it, compiles the patched version into a jar and drops the new archives:
bcel.jar and bcel-src.zip, into the project root. This is the default task, mainly used
to sanity check the building and make sure we're generating something.
The bcel.jar and bcel-src.zip generated should be the same as that in ..\lib\bcel\.
</li>

<li>ant extract -- this extracts the source from bcel-5.1-src.zip,
patches it, and copies the patched source into the project src directory,
there to be visible by eclipse for people to do development on it.
For the patch file to be applied you need to have a patch.exe on your path,
this bcel building process was tested with the version from cygwin.
</li>

<li>ant jar -- this copies the edited source from the project source
directory and jars it up into bcel.jar, there to be tested.
</li>

<li>ant srcjar -- this copies the edited source from the project source
directory and jars up the source code into bcel-src.zip.
</li>

<li>ant push -- this pushes the new bcel.jar and bcel-src.zip into ..\lib\bcel\.
- ready to be used by the greater compiler.</li>

<li>ant diff -- this creates the patch.txt file, composed of the differences
between the project src directory and the original bcel-5.1 source.
For the patch file to be built successfully you need to have a diff.exe on your path,
this bcel building process was tested with the version from cygwin.
</li>
</ul>

<p> All of the tasks are destructive, so don't do "ant extract", for example,
if you have anything in the project source directory you care about.
</p>

</body> </html>