Hi Martin, Martin Edge wrote: > Within eclipse it says it's within the 'build path' or do you mean within > Java's class path?
You need to refresh the directory for Eclipse to take into account new files created by the build process. Select the project in the Package Explorer view and press ‘F5’, or right-click and select ‘Refresh’. HTH, Vincent > From: Peter Hancock > 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