On Jan 15, 2008 2:18 PM, Steve Loughran <[EMAIL PROTECTED]> wrote: > > I'm seeing some errors when running an ivy build under eclipse: > > > > ivy-warn-no-ivy: > > ivy-init: > > ivy-resolve: > [ivy:resolve] impossible to define new type: class not found: > fr.jayasoft.ivy.ant.AntCallTrigger in [] nor Ivy classloader > [ivy:resolve] impossible to define new type: class not found: > fr.jayasoft.ivy.ant.AntBuildTrigger in [] nor Ivy classloader > [ivy:resolve] :: configuring :: file = > /home/slo/Projects/SmartFrog/Forge/core/smartfrog/ivyconf.xml > [ivy:resolve] > org.apache.xerces.parsers.XIncludeAwareParserConfiguration in > file:/home/slo/Projects/SmartFrog/Forge/core/smartfrog/ivy.xml > > BUILD FAILED > /home/slo/Projects/SmartFrog/Forge/core/smartfrog/build.xml:998: syntax > errors in ivy file: java.text.ParseException: > org.apache.xerces.parsers.XIncludeAwareParserConfiguration in > file:/home/slo/Projects/SmartFrog/Forge/core/smartfrog/ivy.xml > > Anyone seen problems like this. I see what looks like some classloader > trouble, then an XML parser problem. Everything goes away when I switch > to separate JVM, so its clearly eclipse/java6 related....
For the class loading issues, it seems you have ivy-core.jar instead of ivy.jar in your classpath. This was the default with IvyDE, up to recently (see discussion on dropping support for ivy-core.jar). Do you use IvyDE? How is your Ant classpath configured in eclipse? BTW this is only warnings which can be safely ignored if you don't use these triggers. The second one seems related to the XML parser loaded, but I've never seen such message before... Xavier -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/
