tmf: Fix TestImportExportPackageWizard on Eclipse 4.6M5
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Fri, 29 Jan 2016 23:08:59 +0000 (18:08 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Sat, 30 Jan 2016 04:44:13 +0000 (23:44 -0500)
commitf0dc41702f4b4ab10eb06b80226b66ff36f8d116
treeca6487c74421944bdf661d95496244636a3f14b7
parent13e9acb6da3433da3a8c319041afb8f8486ba3b2
tmf: Fix TestImportExportPackageWizard on Eclipse 4.6M5

ArchiveFileExportOperation doesn't include linked resources by
default anymore, we have to call setIncludeLinkedResources(true).
Because of that, the exported package did not contain the trace
files. The method doesn't exist in Eclipse 4.5 so we have to use
reflection for the time that we want to support both versions of
Eclipse.

Change-Id: Ie7216e81fd3004e362e4200946e6ce81f81aa676
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/65503
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/project/wizards/tracepkg/importexport/TracePackageExportOperation.java
This page took 0.025645 seconds and 5 git commands to generate.