Re: [css2xslfo-support] css2fopnew1_3.jar gives ConfigurationException
Brought to you by:
wdonne
From: <wer...@re...> - 2006-03-13 11:00:29
|
Hi Brad, The command-line in my script is as follows: fop=3D/var/local/fop-0.91beta java -Xbootclasspath/p:/var/local/saxon-8.4/saxon8.jar -cp \ $fop/build/fop.jar:$fop/lib/avalon-framework-4.2.0.jar:$fop/lib/batik-a= ll-1.6.jar:$fop/lib/commons-io-1.1.jar:$fop/lib/commons-logging-1.0.4.jar= :$fop/lib/serializer-2.7.0.jar:$fop/lib/css2fopnew.jar \ be.re.css.CSSToFOPNew $* You can add the system property "be.re.stack" with -Dbe.re.stack to get full stack traces when there is an exception. Regarding to your second problem, have you set a width on the "col" elements? Best regards, Werner. Brad Clements wrote: > Hi, >=20 > I'm trying to run css2fopnew1_3.jar with fop 0.91 beta. >=20 > I've copied all the lib .jar files and fop.jar into the same directory = as=20 > css2fopnew1_3.jar. >=20 > I get this error: >=20 > $JAVA_HOME/bin/java -jar css2fopnew1_3.jar ~/temp/packing_slip.xml.htm = -ps=20 > /tmp/packingslip.ps >=20 > org/apache/avalon/framework/configuration/ConfigurationException >=20 >=20 > I've also tried building up an explicit .jar list for -cp (just used a = mangled fop sh=20 > script), I get the same results >=20 > am I required to have a configuration file? I assume it's fop.xconf.. s= o I tried this=20 > too: >=20 > $JAVA_HOME/bin/java -jar css2fopnew1_3.jar -fc ../fop-0.91beta/conf/fop= .xconf =20 > ~/temp/packing_slip.xml.htm -ps /tmp/packingslip.ps >=20 > org/apache/avalon/framework/configuration/ConfigurationException >=20 >=20 > Same error. >=20 > How can I get a full traceback to debug this? >=20 > ---- >=20 > Unrelated, I'm using css2xslfo1_3.jar in the meantime. >=20 > I have source xhtml with two tables, both tables specify style=3D"table= - > layout:fixed;width:100%" and have <col /> elements. >=20 > But fop complains the same for each table: >=20 > table-layout=3D"fixed" and width=3D"auto", but auto-layout not supporte= d =3D> assuming=20 > width=3D"100%" > table-layout=3D"fixed" and width=3D"auto", but auto-layout not supporte= d =3D> assuming=20 > width=3D"100%" > table-layout=3D"fixed" and width=3D"auto", but auto-layout not supporte= d =3D> assuming=20 > width=3D"100%" >=20 > strange, eh? >=20 >=20 >=20 --=20 Werner Donn=E9 -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |