lttng2: Fix version handling for older eclipse platforms
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Wed, 1 May 2013 18:37:16 +0000 (14:37 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Thu, 2 May 2013 19:12:00 +0000 (15:12 -0400)
commit3f1e748c081a5667bda5bd71896e2b89e6e469e7
treef3a77f7d81dff57889fc23c7199f9dd268a4b16b
parentd04ec5a723064f4f1b26100362491b7f07e27cca
lttng2: Fix version handling for older eclipse platforms

Older implementation of org.osgi.framework.Version have different
API for the compareTo method which causes a NoSuchMethodException.
This commit is to fix the version handling so that it is possible
to run it on older Eclipse versions (e.g. 3.6).

Change-Id: I968aec9f4fda5ff8cf2f05b23e1b544d3f8e28c8
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12420
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/service/LTTngControlService.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/service/LttngVersion.java [new file with mode: 0644]
This page took 0.027386 seconds and 5 git commands to generate.