[xep-support] Ant Task

From: Jared Hales <jhales@perfectorder.com>
Date: Tue Nov 16 2004 - 07:54:59 PST

I am trying to do a proof of concept for my company to verify that we
can use XEP to process our docbook documents. We have successfully been
using FOP with ant, but I am having trouble setting up the xep ant task.

One thing I noticed is that the documentation online
(http://www.renderx.net/Content/support/connectors/ant.html) is
incorrect. The XEPTask.jar file does not contain the class
'com.renderx.ant.XEPTask' but rather it seems to be
'com.renderx.xepx.ant.XEPTask'

Is there more complete/accurate documentation I can refer to?

Here is an excerpt from my ant build.xml file, any suggestions on what I
am doing wrong?

   <!-- BEGIN - XEP Proof of Concept -->

     <path id="xep-classpath">
       <fileset dir="/home/jhales/XEP/lib/">
         <include name="xep*.jar" />
         <include name="xt.jar" />
         <include name="saxon.jar" />
       </fileset>
       <pathelement path="/home/jhales/XEP/lib/XEPTask.jar"/>
     </path>

     <taskdef name="xep" classname="com.renderx.xepx.ant.XEPTask"
classpath="/home/jhales/XEP/lib/XEPTask.jar" />

     <target name="xep-admin" description="Creates PDF output files via
XEP">
         <xep destdir="${admin.pdf.dir}" format="PDF">
             <classpath refid="xep-classpath"/>
             <sysproperty key="com.renderx.xep.CONFIG"
value="/home/jhales/XEP/xep.xml"/>
             <fileset dir="/home/jhales/saturn/doc/admin/work">
                 <include name="*.fo"/>
             </fileset>
         </xep>
     </target>
   <!-- END - XEP Proof of Concept -->

-------------------
(*) 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
Received on Tue Nov 16 08:28:41 2004

This archive was generated by hypermail 2.1.8 : Tue Nov 16 2004 - 08:28:41 PST