Ant-dev: Could the problem be that ant is putting its own jars first in the classpath?
- Sam Ruby ---------------------- Forwarded by Sam Ruby/Raleigh/IBM on 04/03/2001 05:30 AM --------------------------- GOMEZ Henri <[EMAIL PROTECTED]> on 04/03/2001 03:03:59 AM Please respond to [email protected] To: [email protected] cc: Subject: crimson 1.1 Hi, I'm trying to rebuild crimson 1.1 and created a little build.xml : But build failed on 2 classes => init: ------------------- Crimson 1.1 [2000-2001] --------- prepare: [mkdir] Created dir: /root/crimson-1.1/build [mkdir] Created dir: /root/crimson-1.1/build/classes [mkdir] Created dir: /root/crimson-1.1/build/docs [mkdir] Created dir: /root/crimson-1.1/build/docs/api [mkdir] Created dir: /root/crimson-1.1/dist [mkdir] Created dir: /root/crimson-1.1/dist/docs [mkdir] Created dir: /root/crimson-1.1/dist/docs/api [mkdir] Created dir: /root/crimson-1.1/dist/lib [mkdir] Created dir: /root/crimson-1.1/dist/src package: [javac] Compiling 98 source files to /root/crimson-1.1/build/classes [javac] [javac] Found 4 semantic errors compiling "/root/crimson-1.1/src/org/apache/crimson/jaxp/DocumentBuilderImpl.java": [javac] [javac] 152. builder.setIgnoreWhitespace(dbf.isIgnoringElementContentWhitespace()); [javac] <--------------------------------------> [javac] *** Error: No method named "isIgnoringElementContentWhitespace" was found in type "javax/xml/parsers/DocumentBuilderFactory". [javac] [javac] [javac] 153. builder.setExpandEntityReferences(dbf.isExpandEntityReferences()); [javac] <----------------------------> [javac] *** Error: No method named "isExpandEntityReferences" was found in type "javax/xml/parsers/DocumentBuilderFactory". [javac] [javac] [javac] 154. builder.setIgnoreComments(dbf.isIgnoringComments()); [javac] <----------------------> [javac] *** Error: No method named "isIgnoringComments" was found in type "javax/xml/parsers/DocumentBuilderFactory". [javac] [javac] [javac] 155. builder.setPutCDATAIntoText(dbf.isCoalescing ()); [javac] <----------------> [javac] *** Error: No method named "isCoalescing" was found in type "javax/xml/parsers/DocumentBuilderFactory". [javac] [javac] Found 1 semantic error compiling "/root/crimson-1.1/src/org/apache/crimson/jaxp/SAXParserFactoryImpl.java": [javac] [javac] 154. xmlReader = newSAXParser0().getXMLReader(); [javac] <----------------------------> [javac] *** Error: No method named "getXMLReader" was found in type "javax/xml/parsers/SAXParser". BUILD FAILED /root/crimson-1.1/build.xml:71: Compile failed, messages should have been provided. Total time: 7 seconds --------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *******Attachment(s) have been removed*******
