[xep-support] problem with XEP Ant task

From: Ondřej Tučný (tucny@alsoft.cz)
Date: Wed Mar 19 2003 - 03:31:18 PST

  • Next message: David Tolpin: "Re: [xep-support] problem with XEP Ant task"

    Hello,

    I'm trying to use the XEP Ant task. I've set it up according to the
    documentation:

      <!-- XEP -->
      <taskdef name="xep" classname="com.renderx.ant.XEPTask" classpath="r:\soft\ant\1.5.2\lib\xep\XEPTask.jar"/>
      <path id="xep-classpath">
        <fileset dir="r:\soft\xml\xep\3.2\lib">
          <include name="xep32_client.jar"/>
          <include name="cryptix32.jar"/>
          <include name="cryptix32-pgp.jar"/>
          <include name="xt.jar"/>
          <include name="saxon.jar"/>
        </fileset>
        <pathelement path="r:\soft\ant\1.5.2\lib\xep\XEPTask.jar"/>
      </path>

    The actual invokation of the task looks like this:
        <xep
        in="file:///d:/ol40/gen/build/2/source/documentation/flex40-lrm.fo"
        destDir="file:///d:/ol40/gen"
        format="PDF">
          <classpath refid="xep-classpath"/>
          <sysproperty key="com.renderx.xep.ROOT" value="r:\soft\xml\xep\3.2"/>
        </xep>

    When Ant is run, it fails with "java.io.IOException: Can't create directory
    for target file!". It's the same when the "destDir" attribute or the
    "file:///" prefix is omitted. All mentioned directories and files exist.

    The detailed exception information is stored in Ant's log file:

    file:p:/ol40/Setup/Flex%204.0%20Personal/Flex%204.0%20Personal%20build%20script.xml:246: java.io.IOException: Can't create directory for target file!
            at com.renderx.ant.XEPTask.execute(XEPTask.java:224)
            at com.renderx.ant.XEPTask.execute(XEPTask.java:183)
            at org.apache.tools.ant.Task.perform(Task.java:341)
            at org.apache.tools.ant.Target.execute(Target.java:309)
            at org.apache.tools.ant.Target.performTasks(Target.java:336)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
            at org.apache.tools.ant.Main.runBuild(Main.java:609)
            at org.apache.tools.ant.Main.start(Main.java:196)
            at org.apache.tools.ant.Main.main(Main.java:235)
    --- Nested Exception ---
    java.io.IOException: Can't create directory for target file!
            at com.renderx.ant.JAXPEngine.makeDir(JAXPEngine.java:58)
            at com.renderx.ant.JAXPEngine.process(JAXPEngine.java:46)
            at com.renderx.ant.XEPTask.execute(XEPTask.java:208)
            at com.renderx.ant.XEPTask.execute(XEPTask.java:183)
            at org.apache.tools.ant.Task.perform(Task.java:341)
            at org.apache.tools.ant.Target.execute(Target.java:309)
            at org.apache.tools.ant.Target.performTasks(Target.java:336)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
            at org.apache.tools.ant.Main.runBuild(Main.java:609)
            at org.apache.tools.ant.Main.start(Main.java:196)
            at org.apache.tools.ant.Main.main(Main.java:235)

    Thank you for any help.
            

    -- 
    Best regards Ondřej Tučný, A && L soft s.r.o.
    -------------------
    (*) 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 : Wed Mar 19 2003 - 03:26:37 PST