|
Re: How to declare required Eclipse and JRE versions? [message #290149 is a reply to message #290145] |
Fri, 19 August 2005 01:12 |
Eclipse User |
|
|
|
Originally posted by: pascal.ibm.canada
To specify the version of eclipse, simply use the prereqs in your plugins.
As for prereq'ing java 5.0, this is work in progress. the bug is located
in the platform / runtiem bucket.
PaScaL
Rick Warren wrote:
> The plug-ins I'm developing require Eclipse 3.1 and JRE 1.5.
> Unfortunately, I can't find a way to declare those dependencies to
> Eclipse. The result is that, if a user installs my plug-ins into the
> wrong version of Eclipse or runs Eclipse with a 1.4 JRE, everything
> seems fine until they access my new functionality. Then they get an
> inexplicable failure. Instead, I would like the user to get a dialog box
> at application startup saying something like "The plug-in Foo requires
> at least JRE 1.5."
>
> Eclipse *does* report a polite error if it's launched with a pre-1.4
> JRE, but either that version number is hard-coded or how to set it is
> pretty well hidden. I've searched the Eclipse online help and Google to
> no avail. Any ideas?
>
|
|
|
Re: How to declare required Eclipse and JRE versions? [message #290613 is a reply to message #290149] |
Sat, 27 August 2005 12:17 |
Eclipse User |
|
|
|
Originally posted by: azrael.xofx.de
Hi,
where can i set these requirements? In the plugin.xml?
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?> <-- HERE ???
<plugin>
[...]
</plugin>
What happens, if the eclipse version is not the version in the version tag?
Thnx.
Pascal Rapicault schrieb:
> To specify the version of eclipse, simply use the prereqs in your plugins.
> As for prereq'ing java 5.0, this is work in progress. the bug is located
> in the platform / runtiem bucket.
>
> PaScaL
>
> Rick Warren wrote:
>
>> The plug-ins I'm developing require Eclipse 3.1 and JRE 1.5.
>> Unfortunately, I can't find a way to declare those dependencies to
>> Eclipse. The result is that, if a user installs my plug-ins into the
>> wrong version of Eclipse or runs Eclipse with a 1.4 JRE, everything
>> seems fine until they access my new functionality. Then they get an
>> inexplicable failure. Instead, I would like the user to get a dialog
>> box at application startup saying something like "The plug-in Foo
>> requires at least JRE 1.5."
>>
>> Eclipse *does* report a polite error if it's launched with a pre-1.4
>> JRE, but either that version number is hard-coded or how to set it is
>> pretty well hidden. I've searched the Eclipse online help and Google
>> to no avail. Any ideas?
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04277 seconds