Hi Martin, Putting build/gensrc on the Java build path should have done it. Try deleting the project (not the source) and running 'ant clean' then 'ant' from the command line. Then create the project again in eclipse and try running fop again. I assume you hve fop-hyph.jar in your fop/lib folder too.
I hope this does it for you! Pete On Sun, Feb 7, 2010 at 8:35 AM, Martin Edge <martin.e...@intellimail.com.au>wrote: > Within eclipse it says it's within the 'build path' or do you mean within > Java's class path?* * > > > > *From:* Peter Hancock [mailto:peter.hanc...@gmail.com] > *Sent:* Sunday, 7 February 2010 7:08 PM > *To:* email@example.com; martin.e...@intellimail.com.au > *Subject:* Re: trying to debug using eclipse > > > > Hi Martin > > > Is build/gensrc on your classpath? This gets generated during the default > ant task. > > Pete > > On Sat, Feb 6, 2010 at 3:28 AM, <martin.e...@asmorphic.net.au> wrote: > > Hi Guys, > > Wondering if there are any tips of what i'm doing wrong - have built the > application using ant, and it says it was built successfully. Can see the > event-models.xml in the accessibility section, however, when running the > application from eclipse, I get: > > NFO: Default page-width set to: 210mm > Exception in thread "main" java.lang.ExceptionInInitializerError > at org.apache.fop.apps.FOUserAgent.<init>(FOUserAgent.java:102) > at > org.apache.fop.apps.FopFactory.newFOUserAgent(FopFactory.java:188) > at > org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:171) > at org.apache.fop.cli.Main.startFOP(Main.java:158) > at org.apache.fop.cli.Main.main(Main.java:205) > Caused by: java.util.MissingResourceException: File event-model.xml not > found > at > > org.apache.fop.events.model.AbstractEventModelFactory.loadModel(AbstractEven > tModelFactory.java:46) > at > > org.apache.fop.accessibility.AccessibilityEventProducer$EventModelFactory.cr > eateEventModel(AccessibilityEventProducer.java:54) > at > > org.apache.fop.events.DefaultEventBroadcaster.<clinit>(DefaultEventBroadcast > er.java:73) > ... 5 more > > > Any suggestions on where I should start looking? > > THanks > Martin > > > >