문제

I developed an eclipse plugins. When i created the project, i provide the eclipse version to be supported 3.2 and above. The plugin is working perfectly in indigo. But, not working in Galileo.

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,

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.

It solves the problem. Thanks

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top