You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Evan Greensmith (JIRA)" <ji...@apache.org> on 2014/01/08 08:28:56 UTC

[jira] [Created] (IVYDE-359) packager resolver fails after opening ant build file

Evan Greensmith created IVYDE-359:
-------------------------------------

             Summary: packager resolver fails after opening ant build file
                 Key: IVYDE-359
                 URL: https://issues.apache.org/jira/browse/IVYDE-359
             Project: IvyDE
          Issue Type: Bug
          Components: workspace resolver
    Affects Versions: 2.2.0.final
         Environment: 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)
            Reporter: Evan Greensmith
            Priority: Minor


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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)