I always run make with no targets. This according to the current Makefile is the same as doing validate exemplars test html-web But I usually precede it with a "make clean" , which presumably forces validate to rebuild everything, as per P5-Test on Jenkins. On 08/08/15 18:23, Martin Holmes wrote:
Following Syd's make targets, I was still unable to build this branch, using a freshly-updated and built version of the Stylesheets. This was the output from the validate target:
-------------- mholmes@linux-2013:~/DiskStation/mholmes/WorkData/tei/temp$ make XSL=/home/mholmes/DiskStation/mholmes/WorkData/tei/gitrepo/release/xsl/xml/tei/stylesheet validate BUILD: Check validity with rnv if we have it command -v rnv && rnv -v p5odds.rnc p5.xml /usr/bin/rnv rnv version 1.7.8 p5odds.rnc:-1:-1: error: I/O error: No such file or directory
make: [valid] Error 1 (ignored) BUILD: Check validity with special-purpose XSL code, looking for bad links etc ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -Dverbose= -DXSL=/home/mholmes/DiskStation/mholmes/WorkData/tei/gitrepo/release/xsl/xml/tei/stylesheet validators [echo] Run Schematron script (normal part of Guidelines)
BUILD FAILED /home/mholmes/DiskStation/mholmes/WorkData/tei/temp/antbuilder.xml:186: stylesheet /home/mholmes/DiskStation/mholmes/WorkData/tei/temp/p5odds.isosch.xsl doesn't exist. --------------
The messages are correct: in the checked-out P5-Pure branch, there was no sign of p5odds.rnc or p5odds.isosch.xsl.
So I went back to the Jenkins config and found that the build targets there are:
clean deb dist
so I tried that. It now builds OK.
So Syd, I think at some point you must have run dist otherwise you couldn't have successfully run validate. If I run validate after the regular build it works.
What puzzles me a bit is that P5-Test on Jinks runs clean validate test. Hmm.
Cheers, Martin
On 15-08-08 09:40 AM, Martin Holmes wrote:
Our Jenkins servers use the latest stylesheets build from the Stylesheets job, not the release version. We did this on purpose so that we wouldn't have to force stylesheets releases just to do P5 development.
Would you like me to set up a build job on Jenkins for P5-Pure?
Cheers, Martin
On 15-08-08 02:40 AM, Lou Burnard wrote:
This means, of course, that this branch cannot be merged with the trunk until there has been a new stylesheet release and we have moved over to using it on our jinxes. Which is a pain, but not too great a one. In the circs, I think I might proceed to phase 2 of operation purity: namely, switching the content models in P5 to use pure ODD. It ought to All Just Work, but...
On 07/08/15 22:39, Martin Holmes wrote:
Ah -- I'm forgetting I should be pointing at a fresh Stylesheets repo. I'll try that when I get a chance. Mine will be building with the usual installed deb.
Cheers, Martin
On 15-08-07 02:36 PM, Syd Bauman wrote:
And I should mention that my builds with a local, up-to-date copy of the Stylesheets/ repo.
MH> The failure comes on make validate for me.