WebHelp TOC generating but no html output

Post here questions and problems related to oXygen frameworks/document types.
kmank
Posts: 93
Joined: Mon Apr 19, 2010 5:33 pm

WebHelp TOC generating but no html output

Post by kmank » Tue Apr 30, 2013 9:05 pm

I have been able to generate webhelp with dita topics and ditamaps without issue until a couple days ago. As far as I can tell, there have been no changes to the environment. Now when I generate webhelp, the browser loads the frames and TOC without an issue, but there are no HTML files displayed.

The output states:
[indexertask] No HTML Files found in C:\Dev\maps\out\webhelp.

I can watch the temp folder populate with files and then they are removed. So somewhere in the process, these files are generated but deleted.

Any thoughts on where to start troubleshooting?!?

kmank
Posts: 93
Joined: Mon Apr 19, 2010 5:33 pm

Re: WebHelp TOC generating but no html output

Post by kmank » Tue Apr 30, 2013 9:50 pm

I should also mention that I can successfully transform individual topics, but cannot transform ditamaps.

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: WebHelp TOC generating but no html output

Post by sorin_ristache » Wed May 01, 2013 11:41 am

Hi,

First you should make sure that the DITA map and its content is valid by running the action Validate and Check for Completeness on the map before transforming it to Webhelp output. This action is available on the toolbar of the DITA Maps Manager view.

Do you use one of the built-in transformations (DITA Map Webhelp or DITA Map Webhelp - Feedback) or a customized version in which you set some parameters? If it is a customized version please post here the parameters that you set and their current values.

Please set both the clean.temp and clean.output transformation parameters to yes and repeat the transformation on the same DITA map. If the output files are still not created please post here the complete logging content of the DITA transformation by right clicking inside the view DITA OT displayed at the bottom of the Oxygen window and selecting the action Select All in the popup menu, then right click again and select Copy. The complete set of logging messages should give us some clues about what goes wrong in the transformation.

If you can send us through our online form a zip archive with a set of sample files (the DITA map and the topics included in the map) we can test the transformation also on our test computers.


Regards,
Sorin

kmank
Posts: 93
Joined: Mon Apr 19, 2010 5:33 pm

Re: WebHelp TOC generating but no html output

Post by kmank » Wed May 01, 2013 11:13 pm

Thanks for the direction.
I have tried all I could from your help so I totally started "from scratch" by creating a new ditamap with a single topic that has no links. It validates perfectly, of course.

Then I duplicated the "out of the box" Dita Map Webhelp transformation and set both the clean.temp and clean.output transformation parameters to yes.

I still have the same issue with transforming to webhelp.

Following is the complete log of the transformation. Thanks again for any help!!

Executing:
"c:\dev\oxygen14.2\jre/bin/java" -Xmx384m "-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.ditang.relaxng.defaults.RelaxDefaultsParserConfiguration" -classpath "C:\Dev\Oxygen14.2/tools/ant/lib/ant-launcher.jar" "-Dant.home=C:\Dev\Oxygen14.2/tools/ant" org.apache.tools.ant.launch.Launcher -lib "C:\Dev\Oxygen14.2\classes" -lib "C:\Dev\Oxygen14.2\lib\oxygen.jar" -lib "C:\Dev\Oxygen14.2\lib\oxygenAuthor.jar" -lib "C:\Dev\Oxygen14.2\lib\oxygenDeveloper.jar" -lib "C:\Dev\Oxygen14.2\lib\oxygenEclipse.jar" -lib "C:\Dev\Oxygen14.2\lib\oxygenAuthorEclipse.jar" -lib "C:\Dev\Oxygen14.2\lib\oxygenDeveloperEclipse.jar" -lib "C:\Dev\Oxygen14.2\lib\resolver.jar" -lib "C:\Dev\Oxygen14.2\lib\org.eclipse.wst.xml.xpath2.processor_1.2.0.jar" -lib "C:\Dev\Oxygen14.2\lib\xml-apis.jar" -lib "C:\Dev\Oxygen14.2\lib\xercesImpl.jar" -lib "C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT" -lib "C:\Dev\Oxygen14.2\lib\commons-io-1.3.1.jar" -lib "C:\Dev\Oxygen14.2\lib\commons-logging-1.1.1.jar" -lib "C:\Dev\Oxygen14.2\lib\log4j.jar" -lib "C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\lib\dost-patches.jar" -lib "C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\lib" -lib "C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\lib\dost.jar" -lib "C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\lib\commons-codec-1.4.jar" -lib "C:\Dev\Oxygen14.2\lib\jing.jar" -lib "C:\Dev\Oxygen14.2\lib\saxon9ee.jar" -lib "C:\Dev\Oxygen14.2\lib\saxon.jar" -lib "C:\Dev\Oxygen14.2\lib\xmlgraphics-commons-1.5.jar" -lib "C:\Dev\Oxygen14.2\lib\fop.jar" -lib "C:\Dev\Oxygen14.2\lib\batik-all-1.7.jar" -lib "C:\Dev\Oxygen14.2\lib\xml-apis-ext.jar" -lib "C:\Dev\Oxygen14.2\lib\avalon-framework-4.2.0.jar" -lib "C:\Dev\Oxygen14.2\lib\jeuclid-core.jar" -lib "C:\Dev\Oxygen14.2\lib\jeuclid-fop.jar" -lib "C:\Dev\Oxygen14.2\lib\jh.jar" -lib "C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\lib\jsearch.jar" -lib "C:\Dev\Oxygen14.2\lib\lucene-analyzers-common-4.0.0.jar" -lib "C:\Dev\Oxygen14.2\lib\lucene-core-4.0.0.jar" -lib "C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\lib\xhtml-indexer.jar" -f "C:/Dev/Oxygen14.2/frameworks/dita/DITA-OT/build.xml" "-Dtranstype=webhelp" "-Dbasedir=C:\Dev\maps" "-Doutput.dir=C:\Dev\maps/out/webhelp" "-Ddita.temp.dir=C:\Dev\maps/temp/webhelp/oxygen_dita_temp" "-Dargs.hide.parent.link=no" "-Ddita.dir=C:/Dev/Oxygen14.2/frameworks/dita/DITA-OT" "-Dargs.xhtml.classattr=yes" "-Dwebhelp.footer.include=yes" "-Dargs.input=C:\Dev\maps\TEST.ditamap" "-DbaseJVMArgLine=-Xmx384m"

Buildfile: C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\build.xml

init:

clean-output:

start-process:

init-logger:

init-URIResolver:

use-init:

check-run-in-oxygen:

oxygen-warning:

check-arg:
[mkdir] Created dir: C:\Dev\maps\temp\webhelp\oxygen_dita_temp
[echo] *****************************************************************
[echo] * basedir = C:\Dev\maps
[echo] * dita.dir = C:/Dev/Oxygen14.2/frameworks/dita/DITA-OT
[echo] * input = C:\Dev\maps\TEST.ditamap
[echo] * transtype = webhelp
[echo] * tempdir = C:\Dev\maps/temp/webhelp/oxygen_dita_temp
[echo] * outputdir = C:\Dev\maps/out/webhelp
[echo] * extname = .xml
[echo] * clean.temp = true
[echo] * clean.output = false
[echo] * DITA-OT version = 1.6.1
[echo] * XML parser = Xerces
[echo] * XSLT processor = Saxon
[echo] * collator = JDL
[echo] *****************************************************************
[echo] #Ant properties
[echo] #Wed May 01 14:45:00 CDT 2013
[echo] args.css.file.temp=${args.css}
[echo] args.css.real=${args.css}
[echo] args.default.language=en-US
[echo] args.grammar.cache=yes
[echo] args.hide.parent.link=no
[echo] args.input=C\:\\Dev\\maps\\TEST.ditamap
[echo] args.logdir=C\:\\Dev\\maps/out/webhelp
[echo] args.message.file=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\resource\\messages.xml
[echo] args.xhtml.classattr=yes
[echo] args.xml.systemid.set=yes
[echo] dita.dir=C\:/Dev/Oxygen14.2/frameworks/dita/DITA-OT
[echo] dita.empty=
[echo] dita.ext=.xml
[echo] dita.extname=xml
[echo] dita.input.dirname=C\:\\Dev\\maps
[echo] dita.input.filename=TEST.ditamap
[echo] dita.map.filename.root=TEST
[echo] dita.plugin.com.oxygenxml.dita-ot.plugin.mathml.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\mathml
[echo] dita.plugin.com.oxygenxml.dita-ot.plugin.webhelp.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\com.oxygenxml.webhelp
[echo] dita.plugin.com.sophos.tocjs.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\com.sophos.tocjs
[echo] dita.plugin.net.sourceforge.dita4publishers.common.mapdriven.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\net.sourceforge.dita4publishers.common.mapdriven
[echo] dita.plugin.net.sourceforge.dita4publishers.common.xslt.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\net.sourceforge.dita4publishers.common.xslt
[echo] dita.plugin.net.sourceforge.dita4publishers.epub.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\net.sourceforge.dita4publishers.epub
[echo] dita.plugin.org.dita-ng.dita.relaxng.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\org.dita-ng.doctypes
[echo] dita.plugin.org.dita.base.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.plugin.org.dita.docbook.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.plugin.org.dita.eclipsecontent.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.plugin.org.dita.eclipsehelp.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.plugin.org.dita.htmlhelp.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.plugin.org.dita.javahelp.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.plugin.org.dita.legacypdf.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\legacypdf
[echo] dita.plugin.org.dita.odt.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.plugin.org.dita.pdf.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\org.dita.pdf
[echo] dita.plugin.org.dita.pdf2.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\org.dita.pdf2
[echo] dita.plugin.org.dita.specialization.dita11.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\org.dita.specialization.dita11
[echo] dita.plugin.org.dita.specialization.dita132.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\org.dita.specialization.dita132
[echo] dita.plugin.org.dita.specialization.eclipsemap.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\org.dita.specialization.eclipsemap
[echo] dita.plugin.org.dita.specialization.h2d.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\plugins\\h2d
[echo] dita.plugin.org.dita.troff.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.plugin.org.dita.wordrtf.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.plugin.org.dita.xhtml.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT
[echo] dita.preprocess.reloadstylesheet=false
[echo] dita.resource.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\resource
[echo] dita.script.dir=C\:\\Dev\\Oxygen14.2\\frameworks\\dita\\DITA-OT\\xsl
[echo] dita.temp.dir=C\:\\Dev\\maps/temp/webhelp/oxygen_dita_temp
[echo] dita.topic.filename.root=TEST.ditamap
[echo] dita.xhtml.reloadstylesheet=false
[echo] *****************************************************************

output-deprecated-msg:

output-css-warn-message:

output-msg:

build-init:

dita.map.webhelp.init:

start-preprocess:

gen-list:
[gen-list] GenMapAndTopicListModule.execute(): Starting...
[gen-list] Using Xerces grammar pool for DTD and schema caching.
[gen-list] Processing C:\Dev\maps\TEST.ditamap
[gen-list] [DOTJ036W][WARN] The file "C:\Dev\concepts\dr_about-savvis.xml" referenced by "C:\Dev\maps\TEST.ditamap" is outside the scope of the input dita/map directory. If you do not want to see the warning message, please use the Ant parameter 'outer.control', and set the value to "quiet". Otherwise, move the referenced file "C:\Dev\concepts\dr_about-savvis.xml" into the input dita/map directory.
[gen-list] Processing C:\Dev\concepts\dr_about-savvis.xml
[gen-list] Serializing job specification
[gen-list] GenMapAndTopicListModule.execute(): Execution time: 0.892 seconds

debug-filter:
[filter] DebugAndFilterModule.execute(): Starting...
[filter] Using Xerces grammar pool for DTD and schema caching.
[filter] Processing C:\Dev\maps\TEST.ditamap
[filter] Processing C:\Dev\concepts\dr_about-savvis.xml
[filter] Execution time: 118 milliseconds

copy-image-check:

copy-image-uplevels:

copy-image-noraml:

copy-image:

copy-html-check:

copy-html:

copy-flag-check:

copy-flag:

copy-subsidiary-check:

copy-subsidiary:

copy-generated-files:
[copy] Copying 2 files to C:\Dev\maps\out\webhelp

copy-files:

conrefpush-check:

conrefpush:

conref-check:

conref:

move-meta-entries-check:

move-meta-entries:
[move-meta] Reading C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\TEST.ditamap

keyref-check:

keyref:

coderef-check:

coderef:

mapref-check:

mapref:
[mapref] Transforming into C:\Dev\maps\temp\webhelp\oxygen_dita_temp
[mapref] Processing C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\TEST.ditamap to C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\TEST.ditamap.ref
[mapref] Loading stylesheet C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\xsl\preprocess\mapref.xsl
[move] Moving 1 file to C:\Dev\maps\temp\webhelp\oxygen_dita_temp

mappull-check:

mappull:
[mappull] Transforming into C:\Dev\maps\temp\webhelp\oxygen_dita_temp
[mappull] Processing C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\TEST.ditamap to C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\TEST.ditamap.pull
[mappull] Loading stylesheet C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\xsl\preprocess\mappull.xsl
[move] Moving 1 file to C:\Dev\maps\temp\webhelp\oxygen_dita_temp

chunk-check:

chunk:

maplink-check:

maplink:
[maplink] Processing C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\TEST.ditamap to C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\maplinks.unordered
[maplink] Loading stylesheet C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\xsl\preprocess\maplink.xsl

move-links-check:

move-links:

topicpull-check:

topicpull:
[topicpull] Transforming into C:\Dev\maps\temp\webhelp\oxygen_dita_temp
[topicpull] Processing C:\Dev\maps\temp\webhelp\oxygen_dita_temp\concepts\dr_about-savvis.xml to C:\Dev\maps\temp\webhelp\oxygen_dita_temp\concepts\dr_about-savvis.xml.pull
[topicpull] Loading stylesheet C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\xsl\preprocess\topicpull.xsl
[move] Moving 1 file to C:\Dev\maps\temp\webhelp\oxygen_dita_temp

preprocess:

copy-webhelp-resources:
[copy] Copying 43 files to C:\Dev\maps\out\webhelp\oxygen-webhelp
[copy] Copying 33 files to C:\Dev\maps\out\webhelp\oxygen-webhelp\resources\img

detectIndexerLang:
[echo] Indexer language=en

dita.out.map.webhelp.toc:
[xslt] Transforming into C:\Dev\maps\out\webhelp
[xslt] Processing C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\TEST.ditamap to C:\Dev\maps\out\webhelp\toc.html
[xslt] Loading stylesheet C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\map2xhtmtoc.xsl
[xslt] : Warning! Stylesheet module file:/C:/Dev/Oxygen14.2/frameworks/dita/DITA-OT/xsl/common/dita-utilities.xsl is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior
[xslt] Processing C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\TEST.ditamap to C:\Dev\maps\out\webhelp\toc.xml
[xslt] Loading stylesheet C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\toc_dita.xsl

copy-css:

copy-css-user:

dita.topics.xhtml:

dita.inner.topics.webhelp:
[xslt] Transforming into C:\Dev\maps\out\webhelp

checkouterTransform:

dita.outer.topics.xhtml:

webhelp-indexterms:
[xslt] Transforming into C:\Dev\maps\temp\webhelp\oxygen_dita_temp
[xslt] Processing C:\Dev\maps\temp\webhelp\oxygen_dita_temp\concepts\dr_about-savvis.xml to C:\Dev\maps\temp\webhelp\oxygen_dita_temp\concepts\dr_about-savvis.xml.indexterms
[xslt] Loading stylesheet C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\extractIndexterms_dita.xsl
[xslt] Processing C:\Dev\maps\temp\webhelp\oxygen_dita_temp\maps\TEST.ditamap to C:\Dev\maps\out\webhelp\index.xml
[xslt] Loading stylesheet C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\collectIndexterms_dita.xsl
[xslt] Collecting indexterms from file:///C:/Dev/maps/temp/webhelp/oxygen_dita_temp/concepts/dr_about-savvis.xml.indexterms

annotate-all-html-files:

annotate-one-file:
[echo] Annotating C:\Dev\maps\out\webhelp\index_frames.html ...

create-main-files:
[xslt] Processing C:\Dev\maps\out\webhelp\toc.xml to C:\Dev\maps\out\webhelp\dummy.html
[xslt] Loading stylesheet C:\Dev\Oxygen14.2\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\createMainFiles_dita.xsl

check-list:

webhelp-index:
[echo] Indexing html files in C:\Dev\maps/out/webhelp, indexer language is: en
[indexertask] C:\Dev\maps\out\webhelp
[indexertask] No HTML Files found in C:\Dev\maps\out\webhelp.

dita2webhelp:

clean-temp:

BUILD SUCCESSFUL
Total time: 6 seconds

The process finished with exit code: 0

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: WebHelp TOC generating but no html output

Post by sorin_ristache » Thu May 02, 2013 10:34 am

Hi,
kmank wrote: [gen-list] Processing C:\Dev\maps\TEST.ditamap
[gen-list] [DOTJ036W][WARN] The file "C:\Dev\concepts\dr_about-savvis.xml" referenced by "C:\Dev\maps\TEST.ditamap" is outside the scope of the input dita/map directory.
Each topic included in the map should be located in the same directory with the map or in subdirectories of that directory. In your case, dr_about-savvis.xml should be located in C:\Dev\maps\ or one of its subdirectories. If you must place a topic outside the map directory you can set the transformation parameter fix.external.refs.com.oxygenxml to true.


Regards,
Sorin

kmank
Posts: 93
Joined: Mon Apr 19, 2010 5:33 pm

Re: WebHelp TOC generating but no html output

Post by kmank » Thu May 02, 2013 3:49 pm

You, sir, are a scholar and a gentleman for not pointing out the fact that I, sir, am an idiot!
Image

Thanks so much!!!

Post Reply