You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2007/05/11 23:18:40 UTC

svn commit: r537294 - /incubator/uima/uimaj/trunk/uima-docbook-tool/build/build-docbook.xml

Author: schor
Date: Fri May 11 14:18:40 2007
New Revision: 537294

URL: http://svn.apache.org/viewvc?view=rev&rev=537294
Log:
[UIMA-401] testing showed the up-to-date wasn't being set correctly.  Two problems:
one was for chunked output (currently not being used) - the target file was a directory,
but the upto-date may not recognize that - I switched it to the one file which is 
always generated (index.html).  

The other problem was the dependencies on olink data.  These are databases that store 
info about the links for cross-chapter and cross book links.  They need to be specialized
slightly so the "pdf" version only depends on the pdf database, etc.  

Modified:
    incubator/uima/uimaj/trunk/uima-docbook-tool/build/build-docbook.xml

Modified: incubator/uima/uimaj/trunk/uima-docbook-tool/build/build-docbook.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbook-tool/build/build-docbook.xml?view=diff&rev=537294&r1=537293&r2=537294
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbook-tool/build/build-docbook.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbook-tool/build/build-docbook.xml Fri May 11 14:18:40 2007
@@ -249,7 +249,7 @@
   	<uptodate property="target-book-pdf-uptodate">
   		<srcfiles dir="${styles.dir}" includes="**/*.*"/>
   	  <srcfiles dir="${docbook.src.dir}/${book_name}" includes="*.xml"/>
-  		<srcfiles dir="${olink.dir.path}" includes="**/*.*"/>
+  		<srcfiles dir="${olink.dir.path}" includes="*/pdf-target.db"/>
 			<mergemapper 
 				to="${target.dir}${file.separator}${book_name}${file.separator}${docbook.outname}.pdf"/>
     </uptodate> 
@@ -257,7 +257,7 @@
   	<uptodate property="target-book-html-single-uptodate">
   		<srcfiles dir="${styles.dir}" includes="**/*.*"/>
   	  <srcfiles dir="${docbook.src.dir}/${book_name}" includes="*.xml"/>
-  		<srcfiles dir="${olink.dir.path}" includes="**/*.*"/>
+  		<srcfiles dir="${olink.dir.path}" includes="*/htmlsingle-target.db"/>
 			<mergemapper 
 				to="${target.dir}${file.separator}${book_name}${file.separator}${docbook.outname}.html"/>
     </uptodate> 
@@ -265,9 +265,9 @@
   	<uptodate property="target-book-html-chunked-uptodate">
   		<srcfiles dir="${styles.dir}" includes="**/*.*"/>
   	  <srcfiles dir="${docbook.src.dir}/${book_name}" includes="*.xml"/>
-  		<srcfiles dir="${olink.dir.path}" includes="**/*.*"/>
+  		<srcfiles dir="${olink.dir.path}" includes="*/htmlchunked-target.db"/>
 			<mergemapper 
-				to="${target.dir}${file.separator}${book_name}${file.separator}${docbook.outname}"/>
+				to="${target.dir}${file.separator}${book_name}${file.separator}${docbook.outname}${file.separator}index.html"/>
     </uptodate> 
 
     <condition property="skip-or-uptodate.pdf">