Chromium task

Chromium task

Description

Task to process chromium, a headless print-to-pdf browser (see: chromium.org ).

Installation

$ apt-get install chromium

Chromium task parameters

Attribute Description Value Required
file The input file yes
url The input url yes, if no file
tofile The output pdf file yes

Examples

<project name="chromium task">
	<taskdef name="chromium"
		classname="net.sourceforge.ant4x.taskdefs.doc.ChromiumTask"
		classpath="PATH/TO/ant4x.jar"/>
	
	<target name="chromium">
		<chromium file="index.html" tofile="out.pdf"/>
	</target>
</project>