https://issues.apache.org/bugzilla/show_bug.cgi?id=50678
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
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi,
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">
<classpath>
<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/xercesImpl.jar"/>
<pathelement location="D:/apache-ant-1.8.1/sample/lib/xerces/xml-apis.jar"/>
</classpath>
</taskdef>
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>
<targetName>
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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.