Menu

How to add ant-trax.jar to the Ant classpath?

Help
Alec Swan
2008-02-20
2013-04-22
  • Alec Swan

    Alec Swan - 2008-02-20

    I am using xslt Ant task as a part of the installation process. I am getting the following exception:
    java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.TraXLiaison

    ant-trax.jar contains this class, but is not included with the Ant libraries of the installer. How can I add ant-trax.jar to the Ant's classpath of the installer?

    Thanks.

    Alec

     
    • Alec Swan

      Alec Swan - 2008-02-20

      I fixed the problem by specifying the "classpath" attribute of the XSLT Ant task.

       

Log in to post a comment.

MongoDB Logo MongoDB