From: Keiron Liddle Date: Tue, 20 Aug 2002 08:09:00 +0000 (+0000) Subject: updated classpath, fixed some small errors X-Git-Tag: Alt-Design-integration-base~438 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=87043b9e254777402d1df0f308f8766777583ba4;p=xmlgraphics-fop.git updated classpath, fixed some small errors git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195109 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/contrib/mathml/build.sh b/contrib/mathml/build.sh index 76426a9d1..e68eee93a 100755 --- a/contrib/mathml/build.sh +++ b/contrib/mathml/build.sh @@ -12,7 +12,7 @@ if [ "$JAVA_HOME" = "" ] ; then exit 1 fi LIBDIR=../../lib -LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/batik.jar:$LIBDIR/buildtools.jar:$LIBDIR/xerces-1.4.3.jar:$LIBDIR/xalan-2.2D11.jar:../../build/fop.jar:$LIBDIR/avalon-framework-cvs-20020806.jar:lib/jeuclid.jar +LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/batik.jar:$LIBDIR/buildtools.jar:$LIBDIR/xercesImpl-2.0.1.jar:$LIBDIR/xalan-2.2D11.jar:$LIBDIR/xml-apis.jar:../../build/fop.jar:$LIBDIR/avalon-framework-cvs-20020806.jar:lib/jeuclid.jar ANT_HOME=$LIBDIR echo diff --git a/contrib/mathml/src/org/apache/fop/mathml/MathMLElement.java b/contrib/mathml/src/org/apache/fop/mathml/MathMLElement.java index 2cfa76e9c..066b7b54c 100644 --- a/contrib/mathml/src/org/apache/fop/mathml/MathMLElement.java +++ b/contrib/mathml/src/org/apache/fop/mathml/MathMLElement.java @@ -63,7 +63,7 @@ public class MathMLElement extends MathMLObj { doc = svgDoc; } } catch (Throwable t) { - log.error("Could not convert MathML to SVG", t); + userAgent.getLogger().error("Could not convert MathML to SVG", t); width = 0; height = 0; } diff --git a/contrib/plan/build.sh b/contrib/plan/build.sh index 481da7369..82972e6eb 100755 --- a/contrib/plan/build.sh +++ b/contrib/plan/build.sh @@ -12,7 +12,7 @@ if [ "$JAVA_HOME" = "" ] ; then exit 1 fi LIBDIR=../../lib -LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/batik.jar:$LIBDIR/buildtools.jar:$LIBDIR/xerces-1.4.3.jar:$LIBDIR/xalan-2.2D11.jar:../../build/fop.jar:$LIBDIR/avalon-framework-cvs-20020806.jar +LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/batik.jar:$LIBDIR/buildtools.jar:$LIBDIR/xercesImpl-2.0.1.jar:$LIBDIR/xalan-2.2D11.jar:$LIBDIR/xml-apis.jar:../../build/fop.jar:$LIBDIR/avalon-framework-cvs-20020806.jar ANT_HOME=$LIBDIR echo diff --git a/contrib/plan/src/org/apache/fop/plan/SimplePlanDrawer.java b/contrib/plan/src/org/apache/fop/plan/SimplePlanDrawer.java index e67ca9447..237a58749 100644 --- a/contrib/plan/src/org/apache/fop/plan/SimplePlanDrawer.java +++ b/contrib/plan/src/org/apache/fop/plan/SimplePlanDrawer.java @@ -275,7 +275,7 @@ public class SimplePlanDrawer implements PlanDrawer { line = SVGUtilities.createLine(doc, (float)(200 + (currentDays + 0.5) * 300 / 35), graphTop, (float)(200 + (currentDays + 0.5) * 300 / 35), height); - line.setAttributeNS(null, "style", "fill:none;stroke:rgb(200,50,50);stroke-dasharray:5 5"); + line.setAttributeNS(null, "style", "fill:none;stroke:rgb(200,50,50);stroke-dasharray:5,5"); svgRoot.appendChild(line);