Compilation fails on Europa due to API change
---------------------------------------------

                 Key: IVYDE-58
                 URL: https://issues.apache.org/jira/browse/IVYDE-58
             Project: IvyDE
          Issue Type: Bug
    Affects Versions: 1.3.0
            Reporter: Stephane Bailliez


I was being stupid and checked out Europa, so after downloading several GB of 
data, I tried to compile IvyDE and the Eclipse API seems to have changed.
Patch to make it compile is below. (there might be something more obvious 
though, I'm not overly familiar with the api)


Index: 
D:/work/oss/apache-ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/search/FixedJavaSearchPage.java
===================================================================
--- 
D:/work/oss/apache-ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/search/FixedJavaSearchPage.java
     (revision 557007)
+++ 
D:/work/oss/apache-ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/search/FixedJavaSearchPage.java
     (working copy)
@@ -289,7 +289,7 @@
                        case ISearchPageContainer.SELECTED_PROJECTS_SCOPE: {
                                String[] projectNames= 
getContainer().getSelectedProjectNames();
                                scope= 
factory.createJavaProjectSearchScope(projectNames, includeJRE);
-                               scopeDescription= 
factory.getProjectScopeDescription(projectNames, includeJRE);
+                               scopeDescription= 
factory.getProjectScopeDescription(projectNames, includeJRE ? 
JavaSearchScopeFactory.JRE : JavaSearchScopeFactory.NO_JRE);
                                break;
                        }
                        case ISearchPageContainer.WORKING_SET_SCOPE: {


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to