Menu

#31 Some build scripts

open
nobody
None
5
2012-10-08
2005-08-17
Michael Kay
No

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.

Discussion

  • Michael Kay

    Michael Kay - 2005-08-17

    recompile8 - compiles the source code

     
  • Michael Kay

    Michael Kay - 2005-08-17

    makejar8 - builds the saxon8.jar and other JAR files

     

Anonymous
Anonymous

Add attachments
Cancel