Searches

Help

#31 Some build scripts

I'm occasionally asked for scripts that can be used to
rebuild Saxon after applying source changes. I don't
have anything very sophisticated, as my IDE takes care
of most of the work, but I've attached some scripts
that you may find useful, if only as a basis for
writing your own. They're not very polished, as they
have built-in dependencies on the filestore layout that
I use.

recompile8 recompiles the source code. You'll want to
delete the lines that compile the Saxonica source code
(which isn't published), and you may also want to avoid
recompiling the dom, jdom, and xom packages as these
have external dependencies. Be aware that if you
recompile under JDK 1.5 (=J2SE 5.0), then you won't be
able to run the code under JDK 1.4.

makejar8 builds the JAR files. Again you may want to
edit this so that it only builds the main saxon8.jar file.