[英]Plugins working in Eclipse Indigo, not in galileo
I developed an eclipse plugins. 我开发了一个eclipse插件。 When i created the project, i provide the eclipse version to be supported 3.2 and above. 创建项目时,我提供了要支持3.2及更高版本的eclipse版本。 The plugin is working perfectly in indigo. 该插件可以在靛蓝中正常工作。 But, not working in Galileo. 但是,不在Galileo工作。
plugins.xml plugins.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
id="wizard"
name="SubApp Config"
point="org.eclipse.ui.newWizards">
<category
name="SubApp CodeGen"
id="wizard.category1">
</category>
<wizard
name="SubApp CodeGen"
icon="icons/wizard.gif"
category="wizard.category1"
class="com.xyz.code.generator.wizard.SubAppWizard"
id="wizard.wizard1">
<description>
</description>
</wizard>
</extension>
</plugin>
Manifest.MF 清单文件
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: com.xyz.article.wizards
Bundle-SymbolicName: com.citi.code.generator;singleton:=true
Bundle-Version: 1.0.0
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.jdt.core,
org.eclipse.jdt.ui,
org.eclipse.ui.forms;bundle-version="3.4.1",
com.citi.code.generator.flavor;bundle-version="1.0.0",
org.apache.velocity;bundle-version="1.5.0"
Bundle-ClassPath: .
Bundle-RequiredExecutionEnvironment: J2SE-1.5,
JavaSE-1.6
Please help 请帮忙
From the comment of Fredrik, 根据弗雷德里克(Fredrik)的评论,
I think Indigo requires java 1.6 and Galileo may not support it. Try to
change execution environment to 1.5 and recompile and see if that changes
anything.
Change the execution environment to 1.5 and set JAVA SDK to Java 1.5. 将执行环境更改为1.5,并将JAVA SDK设置为Java 1.5。
It solves the problem. 它解决了这个问题。 Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.