ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r641196 - in /ant/ivy/ivyde/trunk: CHANGES.txt src/java/org/apache/ivyde/eclipse/ui/editors/IvyEditor.java
Date Wed, 26 Mar 2008 08:19:40 GMT
Author: hibou
Date: Wed Mar 26 01:19:39 2008
New Revision: 641196

URL: http://svn.apache.org/viewvc?rev=641196&view=rev
Log:
IVYDE-81 : An error occur when closing a project while the ivy editor is open
 - fix the spelling mistake

Modified:
    ant/ivy/ivyde/trunk/CHANGES.txt
    ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/editors/IvyEditor.java

Modified: ant/ivy/ivyde/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/CHANGES.txt?rev=641196&r1=641195&r2=641196&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/CHANGES.txt (original)
+++ ant/ivy/ivyde/trunk/CHANGES.txt Wed Mar 26 01:19:39 2008
@@ -18,6 +18,7 @@
 - FIX: Automatic javadoc attachment is not working (IVYDE-55)
 - FIX: On startup IvyIDE can freeze eclipse (IVYDE-63) (thanks to Nicolas Lalevée)
 - FIX: The project ivy configuration is not taken into account on the first run: the configuration
is no longer stored in the preferences but in the .classpath (IVYDE-70)
+- FIX: An error occurs when closing a project while the ivy editor is opened (IVYDE-81)
 
 - moved to apache, packages renamed to org.apache.ivyde
   				

Modified: ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/editors/IvyEditor.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/editors/IvyEditor.java?rev=641196&r1=641195&r2=641196&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/editors/IvyEditor.java (original)
+++ ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/editors/IvyEditor.java Wed Mar
26 01:19:39 2008
@@ -195,7 +195,7 @@
                 public void run() {
                     IWorkbenchPage[] pages = getSite().getWorkbenchWindow().getPages();
                     for (int i = 0; i < pages.length; i++) {
-                        if (((FileEditorInput) xmlEditor.getEditorInput()).getFile().getProject()
+                        if (((IFileEditorInput) xmlEditor.getEditorInput()).getFile().getProject()
                                 .equals(res)) {
                             IEditorPart editorPart = pages[i]
                                     .findEditor(xmlEditor.getEditorInput());



Mime
View raw message