On 9/27/01 10:37 AM, "Sam Ruby" <[EMAIL PROTECTED]> wrote:
> Jason van Zyl wrote: >> >> Do you think we could change the default parser that jdom uses to the one >> that comes with Ant so that Anakia will work out of the box with newer ant >> installations. > > 1) Shouldn't that be done in JDOM instead of Anakia? I meant programmatically selecting the parser via JDOM methods within Anakia. > 2) Couldn't that be done in a conditional manner based on whether or not > various classes are available? (Again, IMHO if this is done, it should be > in JDOM). It doesn't seem to matter. Jakarta-site2 has xerces packaged along with it but Anakia won't work with xerces. The Xerces SAXParser class appears to be available but for some reason it's not being used. I can't remember what Jon did to fix it, maybe he put xerces in the $ANT_HOME/lib directory. > 3) Most of the builds done by Gump use Xerces... Gump doesn't use Ant the way an installed version of Ant works so you don't have any problems, but Anakia will not work with the latest released version Ant. Not in the way that I have always used Ant. > - Sam Ruby -- jvz. Jason van Zyl http://tambora.zenplex.org http://jakarta.apache.org/turbine http://jakarta.apache.org/velocity http://jakarta.apache.org/alexandria http://jakarta.apache.org/commons
