problem appears to be fixed. it was indeed a corrupted file, I assume due to my
decompressor.
If anyone else has a similar problem with MacOS X public beta and ant, please tell
them to go get a product called OpenUp from www.versiontracker.com . The utility that
ships with the os has some problems with tar and gzip files, and may corrupt them.
please add this to the faq, and thanks for your before-the-fact help!
On Thursday, January 18, 2001, at 02:22 AM, Paul Scott wrote:
> after reading the mailing list archives, I think my problem is the class loader.
> here's the stack trace from the crash:
>
> BUILD FAILED
>
> No JAXP compliant XML parser found. See http://java.sun.com/xml for the
> reference implementation.
> java.lang.NoClassDefFoundError: org/apache/tools/ant/UnknownElement
> at
>
>org.apache.tools.ant.ProjectHelper$TargetHandler.startElement(ProjectHelper.java:373)
> at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
> at com.sun.xml.parser.Parser.content(Parser.java:1499)
> at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
> at com.sun.xml.parser.Parser.content(Parser.java:1499)
> at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
> at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
> at com.sun.xml.parser.Parser.parse(Parser.java:284)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:126)
> at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:104)
> at
>org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
> at org.apache.tools.ant.Main.runBuild(Main.java:402)
> at org.apache.tools.ant.Main.main(Main.java:149)
> actually, I just now examined the ant.jar jarfile, and it seems to be corrupt, as my
>jarfile
> browser hangs when I go to the UnknownElement class.
>
> I'll look into this. it could be a decompression problem.
>
>
> On Wednesday, January 17, 2001, at 10:40 PM, Paul Scott wrote:
>
> > I've been trying to get ant to work on MacOS X, but I cannot seem to get it
>working.
> >
> > what am I doing wrong? I'd really like to get this thing working, as there are
>several java
> > projects that build using ant.