Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.2.0.final
-
None
-
None
-
Eclipse Java EE IDE for Web Developers. (x64)
Version: Kepler Service Release 1
Build id: 20130919-0819Apache Ivy - 2.3.0.final_20130110142753
Apache Ivy Ant Tasks - 2.3.0.final_20130110142753
Apache IvyDE - 2.2.0.final-201311091524-RELEASE
Apache IvyDE Resolve Visualizer - 2.2.0.final-201311091524-RELEASE
Eclipse IDE for Java EE Developers - 2.0.1.20130919-0803
Eclipse Platform - 4.3.1.M20130911-1000
Java EE IDE Feature - 2.0.1.20130919-0803Windows Server 2008 R2 (64bit)
Eclipse Java EE IDE for Web Developers. (x64) Version: Kepler Service Release 1 Build id: 20130919-0819 Apache Ivy - 2.3.0.final_20130110142753 Apache Ivy Ant Tasks - 2.3.0.final_20130110142753 Apache IvyDE - 2.2.0.final-201311091524-RELEASE Apache IvyDE Resolve Visualizer - 2.2.0.final-201311091524-RELEASE Eclipse IDE for Java EE Developers - 2.0.1.20130919-0803 Eclipse Platform - 4.3.1.M20130911-1000 Java EE IDE Feature - 2.0.1.20130919-0803 Windows Server 2008 R2 (64bit)
Description
If your ivysettings is setup to use a packager resolver, and your ivy.xml contains a dependency that uses the packager resolver, then opening an ant build file in eclipse will cause the Ivy resolve task to fail.
You will see an error like
[FAILED ] org.apache.geronimo.specs#activation;1.1!activation.jar: org.apache.tools.ant.Project cannot be cast to org.eclipse.ant.internal.ui.model.AntModelProject (432ms)
To get it working again you need to close all ant build files, close eclipse, then reopen eclipse.
Could be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=374770