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:37:51 UTC

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

     [ https://issues.apache.org/jira/browse/IVYDE-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evan Greensmith updated IVYDE-359:
----------------------------------

    Attachment: TestIvyWithBuildOpen.zip

Simple kepler project that demonstrates the issue.

1. Open the project
2. Perform Ivy -> resolve
    This should work fine
3. Open the build.xml file with the ant editor.
4. Perform Ivy -> Clean all caches
5. Perform Ivy -> resolve
    * You will get an error *
6. Close the build.xml file
7. Perform Ivy -> resolve
    * You will get an error *
8. Close and reopen eclipse
9. Perform Ivy -> resolve
    This should work fine


> 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
>         Attachments: TestIvyWithBuildOpen.zip
>
>
> 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)