That's weird. It works for me (well, I'm not using NetBeans) and for Gump, too. Line 355, that's the "eventResourceGenerator" for the event processing stuff. That task uses the normal classpaths set up for FOP: all JARs (*.jar) in lib and lib/build plus some compiled classes in the build directory. I don't assume you've manipulated the "basedir" property because that would probably have led to problems earlier in the script. I'd run the Ant script with -d or -v to see what's going on.
On 24.12.2008 01:36:08 Peter B. West wrote: > Yes, I know. When I checkout I get a lib directory with > xmlgraphics-commons-1.4svn. I make no changes. When I then build with > > ant clean; ant package > > BUILD FAILED > /home/pbw/NetBeansProjects/fop-trunk/build.xml:355: > java.lang.NoClassDefFoundError: org/apache/xmlgraphics/util/XMLizable > > I tried linking xmlgraphics-commons-1.4svn to xmlgraphics-commons.jar, > but it makes no difference. > > Peter > > Jeremias Maerki wrote: > > XMLizable is in xmlgraphics-commons.jar. > > > > On 23.12.2008 05:19:25 Peter B. West wrote: > >> I just tried to do a clean checkout, build and create a NetBeans project. > >> > >> Form a previous experience, I put ant.jar. qdox.jar and XMLUnit.jar in > >> the lib directory, and tried to build 'package' from the command line. > >> Got a class not found fro XMLizable in one of the event producer tasks. > >> > > -- > Peter B. West <http://cv.pbw.id.au/> > Folio <http://defoe.sourceforge.net/folio/> Jeremias Maerki