db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <knut.hat...@oracle.com>
Subject Problems with docs build
Date Thu, 28 Oct 2010 16:32:13 GMT
I noticed that a nightly build job recently started choking on the
docs. I couldn't see any commits to the docs tree around the time it
started failing, so I'm not sure what triggered it. Anyways, here's what
I see (JDK 6 and Ant 1.7.1):

1) Check out a clean copy of the docs tree (yes, a fresh and clean copy
is needed -- just doing "ant clean" or "ant clobber" on an existing tree
is not enough -- see more below)

2) Copy DITA-OT1.1.2.1_bin-ASL.zip into the lib directory

3) ant -lib lib/fop.jar all

Now I see:

Buildfile: build.xml
     [xslt] Processing /code/derby/docs/trunk/temp/refderby.ditamap to /code/derby/docs/trunk/temp/refderby.ditamap.pull
     [xslt] Loading stylesheet /code/derby/docs/trunk/DITA-OT1.1.2.1/xsl/preprocess/mappull.xsl
     [xslt] /code/derby/docs/trunk/DITA-OT1.1.2.1/xsl/preprocess/mappull.xsl:572:25: Warning!
Can not load requested doc: /code/derby/docs/trunk/temp/../devguide/cdevcsecuregrantrevokeaccess.dita
(No such file or directory)
 [pipeline] Move links.
 [pipeline] java.io.FileNotFoundException: /code/derby/docs/trunk/devguide/cdevcsecuregrantrevokeaccess.dita.temp
(No such file or directory)
 [pipeline] 	at java.io.FileOutputStream.open(Native Method)
 [pipeline] 	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
 [pipeline] 	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
/code/derby/docs/trunk/build.xml:199: The following error occurred while executing this line:
/code/derby/docs/trunk/build.xml:221: The following error occurred while executing this line:
/code/derby/docs/trunk/DITA-OT1.1.2.1/conductor.xml:209: The following error occurred while
executing this line:
/code/derby/docs/trunk/DITA-OT1.1.2.1/ditatargets.xml:78: javax.xml.transform.TransformerException:
org.apache.fop.fo.ValidationException: file:/code/derby/docs/trunk/out/ref/refderby.fo:2220:64:
Error(2220/64): fo:basic-link, Missing attribute:  Either external-destination or internal-destination
must be specified.

Total time: 2 minutes 26 seconds

Is anyone else seeing this?

If I try the same ant invocation on an existing checkout (svn up to
latest revision) of the docs tree, the build works fine. The difference
appears to be that the existing checkout has a directory called
"devguide" right under trunk. The directory is not in the repository, so
it must have been created by an earlier build, but "ant clean" and "ant
clobber" don't clean it up. If I remove that directory manually before
building, I see the same failure with the existing checkout.

Knut Anders

View raw message