Fix "Argument list too long" bug during XML generation

BZ: 177060

When the initial XML file for tuning is too big, the XML generation
fails with the message: "Argument list too long". This is because the
generation relies on the PFW command "setDomainsWithSettingsXML", which
takes XML data as string argument. There is a limitation concerning
the size of this string, leading to the current issue.

This patch replaces the call to "setDomainsWithSettingsXML" by
"importDomainsWithSettingsXML", which takes a file as argument instead
of a string. There is no limitation on the file size.

Change-Id: Ieb12e6ba1391545021cd3f1e867dee0d28425d19
Signed-off-by: Frédéric Boisnard <fredericx.boisnard@intel.com>
1 file changed
tree: f253b761cfb02edb122c42ffe6b89edb703eda0f
  1. parameter/
  2. remote-process/
  3. remote-processor/
  4. Schemas/
  5. skeleton-subsystem/
  6. test/
  7. tools/
  8. utility/
  9. xmlserializer/
  10. .gitignore
  11. Android.mk
  12. CMakeLists.txt
  13. COPYING
  14. README.md
README.md

parameter-framework

tl;dr: compilation instructions are at the end

Introduction

WIP

Compiling

Run cmake . then make. You may then install libraries, headers and binaries with make install. By default, they are installed under /usr/local on unix OSes; if you want to install them under a custom directory, you may do so by passing it to the cmake . command; e.g. cmake -DCMAKE_INSTALL_PREFIX=/path/to/custom/install ..