Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Vex » Problem with the batik bundles
Problem with the batik bundles [message #1392773] Wed, 02 July 2014 20:54 Go to next message
KW is currently offline KWFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

when I try to integrate vex via the update site
http://download.eclipse.org/vex/milestones/1.1/, I run into problems
with the batik plugins.

org.apache.batik.css
org.apache.batik.util
org.apache.batik.util.gui


org.eclipse.e4.ui.core needs another version (1.6.0) than vex. When I
only set the 1.7.0 version in the run configuration, I get the target
runtime validation error:

Missing Constraint: Require Bundle:org.apache.batik.css;
bunble-version="[1.6.0,1.7.0)"

When I only set the 1.6.0 in the runtime configuration, I get runtime
valiation the error:

org.eclipse.vex.core
Missing Constraint: Require Bundle:org.apache.batik.css;
bunble-version="1.7.0"
Missing Constraint: Require Bundle:org.apache.batik.util;
bunble-version="1.7.0"

When setting both versions in the target runtime configuration, the
validation of the target runtime succeeds, but at application start, it
leads to this error.

!ENTRY org.eclipse.osgi 2 0 2014-07-01 13:01:10.502
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-01 13:01:10.502
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.e4.ui.css.core_0.10.100.v20130515-1857.jar
was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.core 2 0 2014-07-01 13:01:10.502
!MESSAGE Missing required bundle org.apache.batik.css_[1.6.0,1.7.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-01 13:01:10.502
!MESSAGE Bundle
initial@reference:file:plugins/org.apache.batik.css_1.7.0.v201011041433.jar
was not resolved.
!SUBENTRY 2 org.apache.batik.css 2 0 2014-07-01 13:01:10.502
!MESSAGE Missing required bundle org.apache.batik.util_[1.7.0,1.8.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-01 13:01:10.503
!MESSAGE Bundle
initial@reference:file:plugins/org.apache.batik.util_1.6.0.v201011041432.jar
was not resolved.
!SUBENTRY 2 org.apache.batik.util 2 0 2014-07-01 13:01:10.503
!MESSAGE Missing required bundle org.apache.batik.util.gui_[1.6.0,1.7.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-01 13:01:10.503
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.vex.core_1.1.0.M3_KEPLER_201309251650.jar
was not resolved.
!SUBENTRY 2 org.eclipse.vex.core 2 0 2014-07-01 13:01:10.503
!MESSAGE Missing required bundle org.apache.batik.util_1.7.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-01 13:01:10.503
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.ui_3.105.0.v20130522-1122.jar
was not resolved.
!SUBENTRY 2 org.eclipse.ui 2 0 2014-07-01 13:01:10.504
!MESSAGE Missing required capability Require-Capability: osgi.ee;
filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".

It seems that neither the 1.6 nor the 1.7 version can be resolved?!

Any idea how to fix this problem?

Best Regards
Kris
Re: Problem with the batik bundles [message #1394571 is a reply to message #1392773] Sat, 05 July 2014 14:16 Go to previous messageGo to next message
Florian Thienel is currently offline Florian ThienelFriend
Messages: 38
Registered: July 2009
Member
Hi Kris,

in theory, having multiple versions of the same bundle is one of the major features of OSGi, so it should work - in theory. Now comes practice Wink

1) Did you include an Eclipse Orbit P2 repo into your target definition? This is where we pull the Batik plug-ins from. (e.g. http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/)

2) Does the last error occur when you try to launch your application in the IDE? Maybe you have to enable both versions of Batik in the launch configuration.

Florian
Re: Problem with the batik bundles [message #1395695 is a reply to message #1394571] Mon, 07 July 2014 09:02 Go to previous messageGo to next message
KW is currently offline KWFriend
Messages: 12
Registered: July 2009
Junior Member
Hi Florian,

yes that was also my theoretical knowledge of OSGI, however I am still
unsure, how it everything needs to be configured in an eclipse rcp /
equinox environment.

I also did have the Orbit p2 repository in target defintion, so this was
not the reason for the bundle resolution problem.

But it works now. I first error-tried with the version synchronization
option on feature.xml, but this didn't help. Then I created a new launch
configuration from scratch and after having added the batik 1.7.0
plugins and the org.w3c.events on the needed plugins tab in the new run
configuration, it was working again! Hm, run-configurations and I will
never become real friends...

Redards
Kristian

Am 05.07.14 16:16, schrieb Florian Thienel:
> Hi Kris,
>
> in theory, having multiple versions of the same bundle is one of the
> major features of OSGi, so it should work - in theory. Now comes
> practice ;)
>
> 1) Did you include an Eclipse Orbit P2 repo into your target definition?
> This is where we pull the Batik plug-ins from. (e.g.
> http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/)
>
> 2) Does the last error occur when you try to launch your application in
> the IDE? Maybe you have to enable both versions of Batik in the launch
> configuration.
>
> Florian
>
Re: Problem with the batik bundles [message #1399269 is a reply to message #1395695] Sat, 12 July 2014 09:32 Go to previous message
Florian Thienel is currently offline Florian ThienelFriend
Messages: 38
Registered: July 2009
Member
Hi Kris,

nice to hear that it works now. If you have any further problems don't hesitate to ask - although sometimes it takes a while until someone answers Smile

~Florian
Previous Topic:Vex core api?
Next Topic:Vex generates line break in the middle of DocBook verbatim environments
Goto Forum:
  


Current Time: Thu Nov 15 11:16:15 GMT 2018

Powered by FUDForum. Page generated in 0.02981 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top