On Wed, Sep 5, 2012 at 11:21 AM, Ivens <
ivensportugal@xxxxxxxxx> wrote:
> Hi,
>
> I have a problem with the creation of a repository connector.
> I followed the steps writen here
> (
http://jvliet.blogspot.com.br/2007/02/creating-mylar-connector-plugin-for.html),
> but that lead me to the following error:
>
> org.eclipse.core.runtime.CoreException: Plug-in
> br.ufrj.cos.prisma.myspacce.ui was unable to load class
> br.ufrj.cos.prisma.myspacce.core.MySpacceRepositoryConnector.
>
>
> I created two plugin projects: Core and Ui.
>
> Core:
>
> MySpacceCorePlugin.java //it's the activator...
> implements BundleActivator
> MySpacceRepositoryConnector.java //class of the connector that extends
> AbstractRepositoryConnector
>
> Ui:
>
> MySpacceConnectorUi.java //extends
> AbstractRepositoryConnectorUi
> MySpacceRepositorySettingsPage.java //extends
> AbstractRepositorySettingsPage
> MySpacceUiPlugin.java //extends AbstractUiPlugin
>
>
> Also,
> Core MANIFEST.MF file is like:
>
> Manifest-Version: 1.0
>
> Bundle-ManifestVersion: 2
>
> Bundle-Name: MySpacce Core Plugin
>
> Bundle-SymbolicName: br.ufrj.cos.prisma.myspacce.core
>
> Bundle-Version: 1.0.0.qualifier
>
> Bundle-Activator: br.ufrj.cos.prisma.myspacce.core.MySpacceCorePlugin
>
> Bundle-Vendor: UFRJ
>
> Require-Bundle: org.eclipse.core.runtime,
>
> org.eclipse.mylyn.tasks.core;bundle-version="3.9.0"
>
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>
> Bundle-ActivationPolicy: lazy
>
>
> Ui MANIFEST.MF file is like:
>
> Manifest-Version: 1.0
>
> Bundle-ManifestVersion: 2
>
> Bundle-Name: MySpacce Ui Plugin
>
> Bundle-SymbolicName: br.ufrj.cos.prisma.myspacce.ui;singleton:=true
>
> Bundle-Version: 1.0.0.qualifier
>
> Bundle-Activator: br.ufrj.cos.prisma.myspacce.ui.MySpacceUiPlugin
>
> Bundle-Vendor: UFRJ
>
> Require-Bundle: org.eclipse.ui,
>
> org.eclipse.ui.forms;bundle-version="3.5.200",
>
> org.eclipse.core.runtime,
>
> org.eclipse.mylyn.context.core;bundle-version="3.9.0",
>
> org.eclipse.mylyn.tasks.ui;bundle-version="3.9.0",
>
> org.eclipse.mylyn.tasks.core;bundle-version="3.9.0",
>
> br.ufrj.cos.prisma.myspacce.core;bundle-version="1.0.0"
>
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>
> Bundle-ActivationPolicy: lazy
>
>
> In addition, only Ui plugin has the plugin.xml file, which is written below:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <?eclipse version="3.4"?>
>
> <plugin>
>
> <extension
>
> point="org.eclipse.mylyn.tasks.ui.repositories">
>
> <connectorCore
>
>
> class="br.ufrj.cos.prisma.myspacce.core.MySpacceRepositoryConnector">
>
> </connectorCore>
>
> <connectorUi
>
> class="br.ufrj.cos.prisma.myspacce.ui.MySpacceConnectorUi">
>
> </connectorUi>
>
> </extension>
>
> </plugin>
>
>
>
> Does anybody know what's going on?
>
> Thanks in advance for any help.
>
> Ivens
>
>