AbstractMethodError when trying to extend FOP

2002-11-21 Thread Raffi Simon
I follow the directions to extend FOP, I created a jar file with my classes and place a org.apache.fop.fo.ElementMapping file in the jar and when I run the FOP with my custom element I get the following. [INFO] FOP 0.20.4rcException in thread "main" java.lang.AbstractMethodError at

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Jeremias Maerki
Turn on debug info in the build.xml and recompile FOP. Having line numbers will make it a lot easier for you to track down the problem. Looking at the source of Driver I guess you don't have a method addToBuilder(FOTreeBuilder) in your ElementMapping implementation. On 21.11.2002 22:25:24 Raffi

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Raffi Simon
as a test, I took the ExtensionElementMapping.java file that comes with the sourse files and I added a system.out.println to the code and compiled it and placed it in the classpath, I still get the same exception. I do not think this has to do with my implementation. -RafAdd photos to your e-mail

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Jeremias Maerki
AbstractMethodError means that a method on a class is called that is abstract. Compare your implementation with org.apache.fop.svg.SVGElementMapping. addToBuilder is just plain public and that's how it should be. Going to bed now...back in 9 hours. On 21.11.2002 22:51:38 Raffi Simon wrote: as a

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Raffi Simon
I have attached my ExtElementMapping file and I alsorebuilt FOP with debugging turned on this is the error I get: C:\apps\fop-0.20.4fop c:\test.fo -pdf c:\test.pdf C:\apps\fop-0.20.4java -cp

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Raffi Simon
cancel that I think I found it.Add photos to your messages with MSN 8. Get 2 months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]