Missing MySql constraint [message #1071929] |
Sun, 21 July 2013 16:15 |
Ralf Heydenreich Messages: 235 Registered: July 2009 |
Senior Member |
|
|
Hi all,
I've tried to include mysql as plugin into a sample gemini project
(thanks to Muki ;-) ). Unfortunately, I can't get it work. What I've
done is created a mysql bundle which exports the appropriate packages.
Here's the MANIFEST.MF:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: MySQL Connector/J
Bundle-SymbolicName: com.mysql.jdbc
Bundle-Version: 5.1.25
Bundle-ClassPath: mysql-connector-java-5.1.25-bin.jar
Bundle-Vendor: mysql.org
Export-Package: com.mysql.jdbc,
com.mysql.jdbc.authentication,
com.mysql.jdbc.exceptions,
com.mysql.jdbc.exceptions.jdbc4,
com.mysql.jdbc.integration.c3p0,
com.mysql.jdbc.integration.jboss,
com.mysql.jdbc.interceptors,
com.mysql.jdbc.jdbc2.optional,
com.mysql.jdbc.jmx,
com.mysql.jdbc.log,
com.mysql.jdbc.profiler,
com.mysql.jdbc.util,
org.gjt.mm.mysql
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-ActivationPolicy: lazy
But if I try to add this as plugin in the lauch configuration of my
sample project than the application (or Eclipse) complaints about
missing dependencies:
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-21 17:52:59.500
!MESSAGE Bundle
reference:file:/C:/eclipse43/workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.gemini.dbaccess.mysql_1.1.0.RELEASE.jar
was not resolved.
!SUBENTRY 2 org.eclipse.gemini.dbaccess.mysql 2 0 2013-07-21 17:52:59.500
!MESSAGE Missing imported package
com.mysql.jdbc.jdbc2.optional_[5.0.0,6.0.0).
!SUBENTRY 2 org.eclipse.gemini.dbaccess.mysql 2 0 2013-07-21 17:52:59.500
!MESSAGE Missing imported package com.mysql.jdbc_[5.0.0,6.0.0).
Why that? And, btw., is there a working sample project for Gemini
Blueprint with Eclipse e4? I've searched for it but didn't found anything.
Thanks in advance.
Ralf.
|
|
|
|
Powered by
FUDForum. Page generated in 0.05616 seconds