ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: ivy in build files on eclipse
Date Tue, 15 Jan 2008 16:25:17 GMT
On Jan 15, 2008 2:18 PM, Steve Loughran <stevel@apache.org> 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/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message