how to patch and recompile
Added by Anonymous almost 20 years ago
Legacy ID: #2950673 Legacy Poster: Kevin Rodgers (notorious_kev)
I need to make the change described in http://sourceforge.net/tracker/index.php?func=detail&aid=1094080&group_id=29872&atid=397617\ but the saxonb8-2.zip file doesn't contain any .java source files or instructions on how to recompile the .jar files.
Replies (2)
RE: how to patch and recompile - Added by Anonymous almost 20 years ago
Legacy ID: #2951093 Legacy Poster: Michael Kay (mhkay)
The source is included in the download: if you unzip the saxonb8-2.zip file into c:\saxon you will find it in c:\saxon\source.zip. There aren't any build instructions or scripts, I'm afraid. This is partly because I adopt a somewhat high-handed attitude that those who don't know how to patch the source are probably better off not doing it. If you have a Java IDE it's very straightforward: just point your IDE at the source tree and click "compile". If anyone reading this has any simple scripts for building Saxon, I'd like to know about them. The ones I use are too locked into my own development environment to be suitable for release. Michael Kay
RE: how to patch and recompile - Added by Anonymous almost 20 years ago
Legacy ID: #2952132 Legacy Poster: Kevin Rodgers (notorious_kev)
We've got IntelliJ, but I much prefer the command line to an IDE, so here's what I did; Compile the XSLChoose.java file into a .class file (with javac). Replace the XSLChoose.class file in the saxon8.jar (with emacs). Now I don't get the "Incestuous Relationship!" error, but neither do I get the timing I want. But that's for another thread... Thanks!
Please register to reply