ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: ANT fop task
Date Fri, 03 Apr 2009 05:04:28 GMT
> I have 
> <taskdef name="fop" 
> classname="" 
> 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();
>From the class name I would think that this should be
an Ant task (...anttasks.Fop) - if it has the execute method.


> <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)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message