You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2011/01/25 19:59:48 UTC

DO NOT REPLY [Bug 50652] New: SAX2 driver class org.apache.xerces.parsers.SAXParser not found when using Apache ANT 1.8.2

https://issues.apache.org/bugzilla/show_bug.cgi?id=50652

           Summary: SAX2 driver class org.apache.xerces.parsers.SAXParser
                    not found when using 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: notifications@ant.apache.org
        ReportedBy: ashish.soni@siemens.com


Created an attachment (id=26548)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26548)
Sample build file and Custom ANT task "TestJDOM", Build file TestJDOM will run
the custom ANT Task.

Hi,

After switching from Apache ANT 1.7.1 to Apache ANT 1.8.2, my custom ant task
is failing any help is appriciated.

D:\testView\myvob\build2\bin>D:\testView\myvob\mix\java\ant\apache-ant-1.8.2\bin\ant
-f TestJDOM.xml
Buildfile: D:\testView\myvob\build2\bin\TestJDOM.xml

clean:
   [delete] Deleting: D:\testView\myvob\build2\bin\TestJDOM.class

compileAndRun:
    [javac] D:\testView\myvob\build2\bin\TestJDOM.xml:6: warning:
'includeantruntime' was not set, defaulting to build.
    [javac] Compiling 1 source file to D:\testView\myvob\build2\bin
    [javac] Note: D:\testView\myvob\build2\bin\TestJDOM.java uses or overrides
a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

exec:
     [JDOM] START
     [JDOM] Could not load org.apache.xerces.parsers.SAXParser: SAX2 driver
class org.apache.xerces.parsers.SAXParser not foun

BUILD SUCCESSFUL
Total time: 6 seconds

D:\testView\myvob\build2\bin>D:\testView\myvob\mix\java\ant\apache-ant-1.7.1\bin\ant
-f TestJDOM.xml
Buildfile: TestJDOM.xml

clean:
   [delete] Deleting: D:\testView\myvob\build2\bin\TestJDOM.class

compileAndRun:
    [javac] Compiling 1 source file to D:\testView\myvob\build2\bin
    [javac] Note: D:\testView\myvob\build2\bin\TestJDOM.java uses or overrides
a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

exec:
     [JDOM] START
     [JDOM] D:\testView\myvob\build2\etc\packageIDMapping\PackageIDMapping.xml
(The system cannot find the file specified)

BUILD SUCCESSFUL
Total time: 2 seconds
D:\testView\myvob\build2\bin>

Thanks
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.

DO NOT REPLY [Bug 50652] SAX2 driver class org.apache.xerces.parsers.SAXParser not found when using Apache ANT 1.8.2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50652

--- Comment #1 from ashish.soni@siemens.com <as...@siemens.com> 2011-01-26 01:35:50 EST ---
Hi,

Please refer to Bug 50658 for more details

Thanks
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.

DO NOT REPLY [Bug 50652] SAX2 driver class org.apache.xerces.parsers.SAXParser not found when using Apache ANT 1.8.2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50652

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #2 from Stefan Bodewig <bo...@apache.org> 2011-01-26 10:38:24 EST ---
no reason to have to reports for the same thing - I'll close the other one in a
few minutes anyway ;-)

*** This bug has been marked as a duplicate of bug 50658 ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.