Uploaded image for project: 'IvyDE'
  1. IvyDE
  2. IVYDE-131

IvyDE doesn't work with Eclipse 3.2.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0.alpha1
    • None
    • classpath container
    • None
    • Eclipse 3.2.2 (any platform)
      IBM Rational Application Developer / Rational Software Architect version 7.0 (before 7.5)

    Description

      Eclipse 3.2.2 and the new Eclipse 3.4 have API differences that make it impossible for IvyDE to work in Eclipse 3.2.2

      The issue exists due to the way IvyDE uses the "org.eclipse.core.runtime.Status" class.

      The IvyDE code uses these constructors:

      Status(int severity, String pluginId, String message)
      Status(int severity, String pluginId, String message, Throwable exception)

      however, these constructors don't exist in Eclipse 3.2.2, but were added to the Eclipse API in subsequent release. There is a constructor that exists in 3.2.2 and all subsequent releases:

      Status(int severity, String pluginId, int code, String message, Throwable exception)

      The exception parameter can be set to null and code can be set to the same value as severity.

      In order to allow IvyDE to run in Eclipse 3.2.2 (and Rational v7.0 series software products), this common constructor should be used.

      The change to source code needs only to be done in two places: class "org.apache.ivyde.eclipse.ui.wizards.IvyNewWizard" and class "org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob".

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              beb4ch Mladen Maravic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: