db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Baube <f...@metadoc.fi>
Subject Re: Problems building DITA docs
Date Thu, 31 Mar 2005 20:54:27 GMT
I got a new error ... 

Quoting Jeff Levitt:

> Fred and Scott,
> I'd like you each to try to build the docs using the
> original ant file.  If you also get successful builds,
> then we can confirm that the ant file we have modified
> is the problem. 

On my machine, it was "Getting Started".

So, executing "ant" in the directory  


I fed it the ditamap filename 


and "pdf".

... resulting in a fatal error (in both JDK 1.4 and JDK5):

     [xslt] IDXS015E Error: (File = /opt/trunk/src/getstart/getstartderby.ditamap, Element
= topicref:7)
     [xslt] Unknown file extension in href:
     [xslt]                     cgsinstallingderby.dita If this is a link to a
     [xslt]                   non-DITA resource, set the format attribute to match the
     [xslt]                   resource (for example, 'txt', 'pdf', or 'html'). If it's a
     [xslt]                   link to a DITA resource, the file extension must be .dita .
     [xslt] : Error! null
     [xslt] Failed to process /opt/trunk/DITA-OT1.0/temp/cgsinsta.dita

/opt/trunk/DITA-OT1.0/build.xml:616: The following error occurred while executing this line:
/opt/trunk/DITA-OT1.0/build.xml:680: The following error occurred while executing this line:
/opt/trunk/DITA-OT1.0/pretargets.xml:120: javax.xml.transform.TransformerException: java.lang.NullPointerException


- This is 1.0.0 not 1.0.1beta.

- PATH is: 




> Here's what to do:
> Run ant from the trunk/DITA-OT1.0/ directory instead
> of from trunk/.  The original ant build.xml file is in
> that directory.  You will get a series of prompts. 
> For the first prompt, enter the full location of the
> ditamap that fails on your machine.  For Fred, it was
> the getting started guide.  For Scott, I think it was
> the reference manual.  For me on Windows, it was the
> adminguide, so for example I enter:
> C:\derby\trunk\src\adminguide\derbyadmin.ditamap
> For the next prompt, just use the default out
> diretory.  The third prompt asks for an output format.
>  Enter PDF.
> Enter a "y" for the final prompt.
> You will get a bunch of errors and warnings, more than
> usual (because Andrew's build file fixed a lot of
> those) but you SHOULD get a BUILD SUCCESSFUL message
> at the end, which is what we need to see.  Please let
> us all know if that is what you get.  I am crossing my
> fingers :)
> Jeff

Fred Baube 
Director, Software & Systems
fred@metadoc.fi  +358 41 536 8192 
BSEE  BS.Math  MSFS '88 Georgetown U. 
Metadoc Oy  http://www.metadoc.fi

View raw message