[
https://issues.apache.org/jira/browse/IVYDE-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mladen Maravic updated IVYDE-131:
---------------------------------
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".
was:
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 is the use of the org.eclipse.core.runtime.Status class. The IvyDE
code uses this constructor:
Status(int severity, String pluginId, String message)
however, this constructor doesn't exist in Eclipse 3.2.2. The 3.2.2. has the
following constructor:
Status(int severity, String pluginId, int code, String message, Throwable
exception)
where, exception can be set to null and code be set to severity.
Thus, in order to allow IvyDE to run in Eclipse 3.2.2 (and Rational 7.0 series
software products), this latter constructor should be used.
> IvyDE doesn't work with Eclipse 3.2.2
> -------------------------------------
>
> Key: IVYDE-131
> URL: https://issues.apache.org/jira/browse/IVYDE-131
> Project: IvyDE
> Issue Type: Bug
> Components: classpath container
> Affects Versions: 2.0.0.alpha1
> Environment: Eclipse 3.2.2 (any platform)
> IBM Rational Application Developer / Rational Software Architect version 7.0
> (before 7.5)
> Reporter: Mladen Maravic
>
> 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".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.