ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: ANT fop task
Date Fri, 03 Apr 2009 05:04:28 GMT
> I have 
> <taskdef name="fop" 
> classname="org.apache.fop.tools.anttasks.Fop" 
> classpathref="run-classpath"/>
> where Fop class doesnt have main() method


A task implementation doesnt have to have a main method.
The tasks 'main' is the 
  public void execute();
method.
>From the class name I would think that this should be
an Ant task (...anttasks.Fop) - if it has the execute method.

Manual: http://xmlgraphics.apache.org/fop/0.94/anttask.html


> <taskdef name="fop" classname="org.apache.fop.cli.Main" 
> classpathref="run-classpath"/>
> does'nt have execute() method

Maybe (surely) not a task. 
>From the name I would think it is intended to be started from the
command line.
(...cli.Main: CommandLineInterface MAIN-class)


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message