While running the trunk via ANT the build fails. The error message is at the bottom.
Pieces I'm using Java 1.6.0_16 ANT 1.8.1 (just started using it today, was using 1.7 and received same error) Windows XP SP3 I executed the build by just typing ant in a cmd prompt. In the config file I added the font metrics for the time being from my 0.94 config file, as it still seems to be valid. Example below <font metrics-url="fontsForFOP/arial.xml" kerning="yes" embed-url="file:///c:/Windows/fonts/ARIAL.TTF"> <font-triplet name="Arial" style="normal" weight="normal"/> </font> At the moment still trying to figure out the new method for calling fonts. (want to use Helvetica and encoding utf-8) Line 46 mentioned below of the build file (partsToPDF.xml) is <fop format="application/pdf" fofile="output/tempFilesDelete/SR_TEST_Parts.fo" outfile="output/SR_TEST_Parts.pdf" messagelevel="info" userconfig="fopConfig/fopNewFlyer-trunk.xconf" force="true" /> (I receive the same error when using absolute paths, in case that makes a difference) Any help appreciated. Thanks BUILD FAILED c:\ publishingWorkflow\antTargets\partsToPDF.xml:46: java.lang.NoSuchMethodError: org.apache.xmlgraphics.java2d.GraphicContext.<init>(Lorg/apache/xmlgraphics/java2d/GraphicContext;)V at org.apache.fop.render.intermediate.IFGraphicContext.<init>(IFGraphicContext.java:50) at org.apache.fop.render.intermediate.IFGraphicContext.clone(IFGraphicContext.java:56) at org.apache.fop.render.intermediate.IFRenderer.saveGraphicsState(IFRenderer.java:632) at org.apache.fop.render.intermediate.IFRenderer.startViewport(IFRenderer.java:885) at org.apache.fop.render.intermediate.IFRenderer.startVParea(IFRenderer.java:878) at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:289) at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:731) at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:249) at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:230) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:580) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:114) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:167) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:284) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:526) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:429) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:547) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:497) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:308) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:450) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:85) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:107) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:238) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:120) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177) at net.sf.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProxy.java:391) at net.sf.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java:213) at net.sf.saxon.event.ReceivingContentHandler.endElement(ReceivingContentHandler.java:447) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528) at org.apache.crimson.parser.Parser2.content(Parser2.java:1779) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:397) at net.sf.saxon.event.Sender.send(Sender.java:182) at net.sf.saxon.IdentityTransformer.transform(IdentityTransformer.java:32) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130) at org.apache.fop.tools.anttasks.FOPTaskStarter.renderInputHandler(Fop.java:657) at org.apache.fop.tools.anttasks.FOPTaskStarter.render(Fop.java:680) at org.apache.fop.tools.anttasks.FOPTaskStarter.run(Fop.java:539) at org.apache.fop.tools.anttasks.Fop.execute(Fop.java:368) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397) at org.apache.tools.ant.Project.executeTarget(Project.java:1366) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1249) at org.apache.tools.ant.Main.runBuild(Main.java:801) at org.apache.tools.ant.Main.startAnt(Main.java:218) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -------------------------------------------------------------------- Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org