You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ac...@apache.org on 2010/07/21 20:06:25 UTC

svn commit: r966339 - /xmlgraphics/fop/trunk/build.xml

Author: acumiskey
Date: Wed Jul 21 18:06:25 2010
New Revision: 966339

URL: http://svn.apache.org/viewvc?rev=966339&view=rev
Log:
Fix to "docs" target.  FORREST_HOME no longer needs to be in your PATH for the target to work as you would expect it to.

Modified:
    xmlgraphics/fop/trunk/build.xml

Modified: xmlgraphics/fop/trunk/build.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/build.xml?rev=966339&r1=966338&r2=966339&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/build.xml (original)
+++ xmlgraphics/fop/trunk/build.xml Wed Jul 21 18:06:25 2010
@@ -1208,16 +1208,12 @@ NOTE:
 <!-- =================================================================== -->
   <target name="docs" description="Generates documentation">
     <echo message="Building documentation with Forrest..."/>
-<!--
-    <echo message="Make sure that you have installed Apache Forrest and"/>
-    <echo message="the FORREST_HOME environment variable is set (see http://forrest.apache.org/)"/>
-    <echo message="FORREST_HOME = ${forrest.home}"/>
-    -->
+    <echo message="FORREST_HOME = ${env.FORREST_HOME}"/>
     <echo message="Make sure you have a proper Forrest installation (see http://forrest.apache.org/)"/>
     <condition property="forrest.call" value="forrest.bat" else="forrest">
       <os family="windows"/>
     </condition>
-    <exec executable="${forrest.call}"/>
+    <exec executable="${env.FORREST_HOME}/bin/${forrest.call}"/>
   </target>
 <!-- =================================================================== -->
 <!-- Creates the distribution                                            -->



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org