Re: [xep-support] Adobe SVG

From: Nikolai Grigoriev (grig@renderx.com)
Date: Mon Jun 21 2004 - 10:32:45 PDT

  • Next message: James Drayton: "RE: [xep-support] Adobe SVG"

    James,

    > I can do following and not receive an error:
    > ...
    > <arg line="-DROOT=${XEP_HOME} -Dcom.renderx.sax.entityresolver=foo

    You are specifying these classes as arguments to XSLDriver class,
    whereas they should be arguments _to the Java machine itself_.
    In Ant, system variables for a forked Java call are set using <jvmarg>:

    <java classname="com.renderx.xep.XSLDriver" ...>
    <arg line="...."/>
    <jvmarg value="-Dcom.renderx.sax.entityresolver=com.sun.resolver.tools.CatalogResolver"/>
    <jvmarg value="-Dcom.renderx.jaxp.uriresolver=com.sun.resolver.tools.CatalogResolver"/>
    </java>

    Regards,
    Nikolai

    ----- Original Message -----
    From: "James Drayton" <James.Drayton@Solipsys.com>
    To: <xep-support@renderx.com>
    Sent: Monday, June 21, 2004 8:26 PM
    Subject: RE: [xep-support] Adobe SVG

    Nikolai,

    It appears that the following:

    java
       -Dcom.renderx.sax.entityresolver=.sun.resolver.tools.CatalogResolver
       -Dcom.renderx.jaxp.uriresolver=com.sun.resolver.tools.CatalogResolver

    I can do following and not receive an error:

    <propertycopy name="PDF_DOC" from="${docType}_PDF" />
      <echo message="Building ${docType} PDF Document with XEP..." />
        <java classname="com.renderx.xep.XSLDriver"
              classpathref="docbook.classpath"
              fork="true"
              dir="."
              maxmemory="${MAX_MEMORY}"
              failonerror="true"
    >
        <arg line="-DROOT=${XEP_HOME} -Dcom.renderx.sax.entityresolver=foo
    -Dcom.renderx.jaxp.uriresolver=foo
    -fo ${DOC_TMP_DIR}/.tmp${docType}.PDF.fo -pdf ${PDF_DOC}" />
        </java>

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Mon Jun 21 2004 - 10:47:24 PDT