2 Replies Latest reply on Dec 12, 2005 4:24 PM by Ovidiu Feodorov

    Accessing ant libraries from a project

    Ovidiu Feodorov Master

      I need to extend an ant class (org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter) so I need to access the build system's ant.jar and ant-junit.jar from my project.

      This is how I am currently doing it:

       <pathelement path="${module.root}/../../tools/lib/ant.jar"/>
       <pathelement path="${module.root}/../../tools/lib/ant-junit.jar"/>

      Is this OK, or there is a more portable way to do the same thing?