Cannot deploy Plugin [message #140281] |
Sat, 25 February 2006 15:27  |
Eclipse User |
|
|
|
Originally posted by: jochen.wuttke.gmx.de.invalid
Hi,
I just started to learn how to do plug-ins and now I would like to deploy it.
Here is the deal:
I have two plugin-projects, one feature project, that inlcude both plug-ins
and one site project that I want to use to create my update site.
When I click on "Build" in the site project I get an error message, that there
were problems and Eclipse dumps a zip file with some logs in it. The log files
always say
# 25 Feb 2006 20:47:27
Compliance level '1.4' is incompatible with source level '1.5'. A compliance
level '1.5' or better is required
So, my plugin projecst are set to compliance with 1.5 since I use features of
Java 1.5. They build without problems and I can test them in Eclipse. So that
does not seem to be the problem.
To figure out where the problem might be I tried to use the Export wizard for
deployable plug-ins. In that wizard I can set the compliance level for the
code. And only when I set it to 1.4 I can export the plugin.
Can anyone tell me why? Is it forbidden to use Java 1.5 in plug-ins or
something like that?
Thanks a lot!
P.S.:
Eclipse 3.1.1 on OS-X, just ran the update to be sure to have the newest code.
|
|
|
|
Re: Cannot deploy Plugin [message #140443 is a reply to message #140400] |
Mon, 27 February 2006 05:16  |
Eclipse User |
|
|
|
Originally posted by: jochen.wuttke.gmx.de.invalid
Michael Pellaton wrote:
> Hi
>
> The only thing I can think of is: are you sure, you run Eclipse itself
> using a 1.5 (5.0) JRE? To check this, open the 'Configuration Details'
> dialog from the 'About Eclipse SDK' dialog: then, there is somewhere a
> line 'java.version=x.y.z'.
>
> Michael
That did the trick. Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.08026 seconds