> 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-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org