logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Problems building DITA docs: msg#00551

Subject: Re: Problems building DITA docs
Hi Fred,

Could you send the JVM version, CLASSPATH, uname -a, and anything you can think of :-) ?
The /opt/ looks like solaris, but sometimes linux uses /opt/

This might be due to what Jeff thinks is causing problems, which is files not in native end of line. But certainly a strange error!

thanks,
scott

Fred Baube wrote:

I did a fresh checkout just now (revision 159481) and encoun-
tered these problems trying to run "ant pdf" and "ant html": - file src/getstart/tgssetupjavaenvir.dita had a PI at the end of the file which had to be removed

- the Java source in  DITA-OT1.0/src/  had to be built,
 zipped, and placed on my CLASSPATH

- I am encountering an NPE when building both PDF and HTML (the NPE is the same in both cases):

topicpull:
    [xslt] Transforming into /opt/trunk/temp
    [xslt] Processing /opt/trunk/temp/cgsinsta.dita to 
/opt/trunk/temp/cgsinsta.dita.pull
    [xslt] Loading stylesheet /opt/trunk/DITA-OT1.0/xsl/preprocess/topicpull.xsl
    [xslt] : Error! null
    [xslt] Failed to process /opt/trunk/temp/cgsinsta.dita

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


The offending block (line 120 of DITA-OT1.0/pretargets.xml) is this:

   <xslt processor="trax"
         basedir="${dita.temp.dir}"
         destdir="${dita.temp.dir}"
         includes="${fullditatopc.list}"
         extension="${dita.extname}.pull"
         style="xsl/preprocess/topicpull.xsl">


thx!/hth

fred baube





<Prev in Thread] Current Thread [Next in Thread>