ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50678] New: Not reading xercesImpl.jar and xml-apis.jar in Apache ANT 1.8.2
Date Fri, 28 Jan 2011 07:35:50 GMT

           Summary: Not reading xercesImpl.jar and xml-apis.jar in Apache
                    ANT 1.8.2
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Build Process


I have a problem with xercesImpl.jar and xml-apis.jar api jars. 
I have custom ANT Task that is using above mentioned api jars, when i giving it
on classpath of task "JDOM" its not picked by the Apache ANT 1.8.2.

<taskdef name="JDOM" classname="TestJDOM">
  <pathelement location="${basedir}"/>
  <pathelement location="D:/apache-ant-1.8.1/sample/lib/jdom/build/jdom.jar"/>
  <pathelement location="D:/apache-ant-1.8.1/sample/lib/xerces/xml-apis.jar"/>

Why the above step is not working

but it will work if i will give this lib jars in ant command prompt like:
ant -lib D:/apache-ant-1.8.1/sample/lib/xerces/xercesImpl.jar -lib
D:/apache-ant-1.8.1/sample/lib/xerces/xml-apis.jar -f <buildFileName>

and remove the jars from classpath of taskdef.

Even i varified that both jars a available in classpath.

Thanks in advance
Ashish Soni

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message