On Mon, Sep 14, 2015 at 4:24 AM Peter Caffin <pe...@caffin.org> wrote:

> Hi Norbert,
>
> I'm just trying this theme out with my app, and I get this error:
>
>  >>> Scanning libraries
> Error: Invalid include block: [u'au_js.Application',
> u'darktheme.theme.Theme']
> <type 'exceptions.RuntimeError'> :
> Expression gives no results. Malformed entry: darktheme.theme.Theme
>

Note that the "library" member contains an array, and each array element is
a map. Each key in a map must be unique, but you have three members with
the key "manifest".

Here's how to include multiple themes in your application. Firstly, in
"include" you list all of the themes you want available to your application:

    "includes" :
    {
      "include" :
      [
        "qx.theme.Modern",
        "aristo.Aristo",
        "bernstein.theme.Theme",
        "darktheme.theme.Theme",
        "silverbluetheme.theme.Theme",
        "bamboo.theme.Theme"
      ]
    },

Then, in the "library" section, there's a separate map for each array
element:

    "libraries" :
    {
      "library" :
      [
        {
          "manifest" : "../Bernstein.git/Manifest.json"
        },
        {
          "manifest" : "../DarkTheme/Manifest.json"
        },
        {
          "manifest" : "../SilverBlueTheme/Manifest.json"
        },
        {
          "manifest" : "../Bamboo-pre/Manifest.json"
        },
        {
          "manifest" : "../Aristo.git/Manifest.json"
        }
      ]
    }

Cheers,

Derrell

>
>
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to