- fix hardcoded path to hhc.exe to properly locate install location on x64 platforms (e.g., c:\program files (x86)\... instead of c:\program files\...)

- increased heap space to 1024m on the docbook builder (PDF target) so that it doesn't crash when building
This commit is contained in:
sbohlen
2010-12-06 19:56:14 +00:00
parent 69b2b885be
commit 3dcbc88fa7
3 changed files with 6 additions and 5 deletions

View File

@@ -155,8 +155,9 @@
<arg value="${basedir}/${doc.ref.dir}/src/index.xml" />
<arg value="${basedir}/${doc.ref.dir}/styles/htmlhelp.xsl" />
</java>
<readregistry property="hhc.path" key="software\microsoft\html help workshop\installdir" hive="currentuser" />
<exec dir="${doc.ref.output.dir}/htmlhelp" executable="cmd.exe">
<arg line="/c 'C:\Program Files\HTML Help Workshop\hhc.exe' htmlhelp.hhp"/>
<arg line="/c '${hhc.path}\hhc.exe' htmlhelp.hhp"/>
</exec>
<delete includeEmptyDirs="true">
<fileset dir="${doc.ref.output.dir}/htmlhelp">