velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject cvs commit: jakarta-velocity/whiteboard/daveb/pdfvsl build.xml
Date Fri, 02 Mar 2001 17:29:56 GMT
daveb       01/03/02 09:29:51

  Modified:    whiteboard/daveb/pdfvsl build.xml
  Log:
  Made output directory
  
  Revision  Changes    Path
  1.2       +7 -4      jakarta-velocity/whiteboard/daveb/pdfvsl/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/whiteboard/daveb/pdfvsl/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2001/03/02 04:15:42	1.1
  +++ build.xml	2001/03/02 17:29:41	1.2
  @@ -3,7 +3,7 @@
       <!-- Initialization properties -->
       <property name="project.name"   value="site"/>
       <property name="docs.src" value="../../../xdocs"/>
  -    <property name="docs.dest" value="."/>
  +    <property name="docs.dest" value="output"/>
   
       <target name="prepare">
           <available classname="org.apache.velocity.anakia.AnakiaTask" property="AnakiaTask.present"/>
  @@ -18,8 +18,11 @@
   
       <target name="docs" depends="prepare-error" if="AnakiaTask.present">
           <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/>
  -        <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"/>
  +        <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"/>	
   	
  +	<delete dir="${docs.dest}"/>
  +	<mkdir dir="${docs.dest}"/>
  +
   	<anakia basedir="${docs.src}" destdir="${docs.dest}/"
                extension=".fo" style="pdfsite.vsl"
                includes="**/*.xml"
  @@ -28,8 +31,8 @@
   	
   	<!-- Make big XML doc here -->
   	
  -	<fop fofile="index.fo" 
  -	    pdffile="index.pdf"
  +	<fop fofile="${docs.dest}/anakia.fo" 
  +	    pdffile="${docs.dest}/anakia.pdf"
   	/>
           
       </target>
  
  
  

Mime
View raw message