You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2009/09/12 19:55:59 UTC
[jira] Resolved: (IVYDE-199) File resource listener on Ivy files
launches resolve when it detects modifications.
[ https://issues.apache.org/jira/browse/IVYDE-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Lalevée resolved IVYDE-199.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
Assignee: Nicolas Lalevée
patch integrated with some little modification:
* some CoreException could be thrown on refresh, I don't think the end user should bother, at least I made it logged.
* with that new feature, when using the ivy editor, two resolve process where launched on save: one with that new listener, one with the ivy editor. So I removed the Ivy editor one and everything work fine.
> File resource listener on Ivy files launches resolve when it detects modifications.
> -----------------------------------------------------------------------------------
>
> Key: IVYDE-199
> URL: https://issues.apache.org/jira/browse/IVYDE-199
> Project: IvyDE
> Issue Type: New Feature
> Reporter: Jon Schneider
> Assignee: Nicolas Lalevée
> Fix For: 2.1.0
>
> Attachments: ivyde-199.patch
>
>
> Currently, the Ivy Editor launches a resolve as part of its save logic. But if the file was modified outside of the editor (e.g. a source control update, via the XML editor, etc.), the plugin does not launch a resolve.
> This issue is linked to IVYDE-197 through line 58 of IvyFileResourceListener:
> ...
> if (resource instanceof IFile && IvyPlugin.getPreferenceStoreHelper().getAutoResolveOnChange())
> ...
> Of course this feature could be added without the inclusion of IVYDE-197, but I think they complement each other nicely.
> Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.