keiron 02/03/18 00:58:05 Modified: . build.xml docs/design book.xml docs/xml-docs/fop output.xml Log: updates to docs with build target for understanding and alt.design Submitted by: "Peter B. West" <[EMAIL PROTECTED]> Reviewed by: Keiron Revision Changes Path 1.52 +28 -3 xml-fop/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-fop/build.xml,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- build.xml 11 Feb 2002 09:54:47 -0000 1.51 +++ build.xml 18 Mar 2002 08:58:05 -0000 1.52 @@ -84,8 +84,9 @@ - package [default] -> creates ./build/fop.jar - usage -> shows a help screen - codegen -> generates needed java sources from xml resources - - docs -> generates the HTML documentation in ./build/docs + - htmldoc -> generates the HTML documentation in ./build/docs/html-docs - javadocs -> generates the API documentation in ./build/javadocs + - pdfdoc -> generates the PDF documentation in ./build/docs/xml-docs - dist -> generates the Fop distribution - clean -> restores the distribution to its original and clean state (excepting dist files) @@ -308,8 +309,9 @@ <echo message=" package --> generates the ${name}.jar file (default)"/> <echo message=" codegen --> generates the java files from the xml resources"/> <echo message=" compile --> compiles the source code"/> - <echo message=" docs --> generates the HTML documentation"/> + <echo message=" htmldoc --> generates the HTML documentation"/> <echo message=" javadocs --> generates the API documentation (java 1.2 only)"/> + <echo message=" pdfdoc --> generates the PDF documentation"/> <echo message=" dist --> generates the ${Name} distribution as .tar.gz and .zip"/> <echo message=" clean --> cleans up the directory (except for the dist files)"/> <echo message=" distclean --> cleans up the directory"/> @@ -537,7 +539,10 @@ </target> <target name="html" depends="javadocs, htmldoc"/> - <target name="htmldoc" depends="prepare-src"> + + <target name="htmldoc" depends= "html-fop, html-design"/> + + <target name="html-fop" depends="prepare-src"> <copy file="${xdocs}/fop.xml" tofile="${xdocs}/book.xml" filtering="on"/> @@ -545,9 +550,29 @@ <classpath refid="libs-build-classpath"/> <arg line="targetDirectory=${docs} ${xdocs}/book.xml ${skins}"/> </java> + </target> + + <target name="html-design" depends="prepare-src, html-newdesign, + html-altdesign, html-understanding"/> + + <target name="html-newdesign" depends="prepare-src"> <java classname="${doc.generator}" fork="yes"> <classpath refid="libs-build-classpath"/> <arg line="targetDirectory=${docs}/design/ docs/design/book.xml ${skins}"/> + </java> + </target> + + <target name="html-altdesign" depends="prepare-src"> + <java classname="${doc.generator}" fork="yes"> + <classpath refid="libs-build-classpath"/> + <arg line="targetDirectory=${docs}/design/alt.design/ docs/design/alt.design/book.xml ${skins}"/> + </java> + </target> + + <target name="html-understanding" depends="prepare-src"> + <java classname="${doc.generator}" fork="yes"> + <classpath refid="libs-build-classpath"/> + <arg line="targetDirectory=${docs}/design/understanding docs/design/understanding/book.xml ${skins}"/> </java> </target> 1.4 +5 -0 xml-fop/docs/design/book.xml Index: book.xml =================================================================== RCS file: /home/cvs/xml-fop/docs/design/book.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- book.xml 17 Mar 2002 16:09:22 -0000 1.3 +++ book.xml 18 Mar 2002 08:58:05 -0000 1.4 @@ -3,6 +3,8 @@ <book title="FOP Design" copyright="1999-2002 The Apache Software Foundation"> <external href="http://xml.apache.org/fop/" label="About FOP"/> <separator/> + <external href="understanding/index.html" label="Understanding" /> + <separator/> <page id="index" label="Design" source="intro.xml"/> <page id="architecture" label="Architecture" source="architecture.xml" /> <page id="properties" label="Properties" source="properties.xml" /> @@ -19,4 +21,7 @@ <page id="extending" label="Extending" source="extending.xml" /> <separator/> <page id="status" label="Status" source="status.xml" /> + <separator/> + <external href="alt.design/index.html" label="ALT DESIGN" /> + <separator/> </book> 1.5 +7 -0 xml-fop/docs/xml-docs/fop/output.xml Index: output.xml =================================================================== RCS file: /home/cvs/xml-fop/docs/xml-docs/fop/output.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- output.xml 17 Mar 2002 17:43:55 -0000 1.4 +++ output.xml 18 Mar 2002 08:58:05 -0000 1.5 @@ -54,6 +54,13 @@ supports postscript you could send the postscript to the printer. If you have a printer that supports PCL you could stream the PCL document to your printer. +On Windows: +<source><![CDATA[fop ... -ps \\computername\printer or fop ... -pcl \\computername\printer]]></source> +On UNIX: +<source><![CDATA[proc = Runtime.getRuntime().exec("lp -d" + print_queue + " -o -dp -"); +out = proc.getOutputStream();]]></source> +And give the OutputStream (out) to the PCLRenderer and it happily sends the +PCL to the AIX print queue. </p> </s2> <s2 title="PDF">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]