Fop trunk unable to load configuration file correcly

2013-02-26 Thread Chen Yang
I recently get request to support complex script, I check out the source code and rebuild fop today. Also realized the API has changed http://wiki.apache.org/xmlgraphics-fop/FopFactoryConfiguration I also spent some time with ExampleJava2D2PDF.java did not help much to resolved the issue,

Re: Fop trunk unable to load configuration file correcly

2013-02-26 Thread Luis Bernardo
Yes, it is a bit different now. Something like this should work. String confFile = /path/to/fop.xconf; FopFactoryBuilder builder = new FopConfParser(new File(confFile)).getFopFactoryBuilder(); // set here needed features if needed using