On Tue, Oct 14, 2008 at 4:04 AM, thron7 <[EMAIL PROTECTED]>wrote:

>
> In order to make your build-script job run, I recommend changing your
> "build" job in the following manner:


Hi Thomas,

Thanks for the explanation.  I'm really trying to understand this black art
of config file writing, but I still don't grok it.  When I add the stanza
you specified, I get an error.  I've tried simplifying it to just have my
own local "build" that does exactly what the "build" in base.conf does, but
I get the same error.  The error is:

============================================================================
    INITIALIZING: GUI2
============================================================================
>>> Configuration: config.json
>>> Jobs: build
>>> Resolving jobs...
Traceback (most recent call last):
  File "/home/derrell/=/qooxdoo.git/trunk/qooxdoo/tool/bin/generator.py",
line 133, in <module>
    main()
  File "/home/derrell/=/qooxdoo.git/trunk/qooxdoo/tool/bin/generator.py",
line 114, in main
    expandedjobs = config.resolveExtendsAndRuns(options.jobs[:])
  File
"/home/derrell/=/qooxdoo.git/trunk/qooxdoo/tool/pylib/generator/config/Config.py",
line 292, in resolveExtendsAndRuns
    self._resolveRuns(jobList)
  File
"/home/derrell/=/qooxdoo.git/trunk/qooxdoo/tool/pylib/generator/config/Config.py",
line 347, in _resolveRuns
    raise RuntimeError, "No such job: %s" % subjob
RuntimeError: No such job: appconf::build-resources


Here's the complete config.json file.  The only difference from a working
version is the working one's "build" contains only the single line

  "extend" : ["include-contrib", "appconf::build"]

whereas this version attempts to redefine the "build" to use the appconf job
descriptions.

{
  "name"    : "lifeline",

  "include" :
  [
    {
      "path" :
"../../../qooxdoo.git/trunk/qooxdoo/tool/data/config/application.json",
      "as"   : "appconf"
    }
  ],

  "let" :
  {
    "APPLICATION"  : "lifeline",
    "QOOXDOO_PATH" : "../../../qooxdoo.git/trunk/qooxdoo/framework",
    "QOOXDOO_URI"  : "../${QOOXDOO_PATH}",
    "QXTHEME"      : "lifeline.theme.Modern",
    "API_EXCLUDE"  : ["qx.legacy.*"],
    "LOCALES"      : [ "en" ],
    "ROOT"         : "."
  },

  "jobs" :
  {
    "include-contrib" :
    {
      "library":
      [
        {
          "manifest" :
"../../../qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk/Manifest.json",
          "uri"      :
"../../../qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk"
        }
      ]
    },

    "api" :
    {
      "extend" : ["include-contrib", "appconf::api"]
    },

    "build" :
    {
      "extend" : ["include-contrib"],
      "run" :
      [
        "appconf::build-resources",
        "appconf::build-script",
        "appconf::build-files"
      ]
    },

    "clean" :
    {
      "extend" : ["include-contrib", "appconf::clean"]
    },

    "distclean" :
    {
      "extend" : ["include-contrib", "appconf::distclean"]
    },

    "fix" :
    {
      "extend" : ["include-contrib", "appconf::fix"]
    },

    "lint" :
    {
      "extend" : ["include-contrib", "appconf::lint"]
    },

    "migration" :
    {
      "extend" : ["appconf::migration"]
    },

    "pretty" :
    {
      "extend" : ["appconf::pretty"]
    },

    "publish" :
    {
      "extend" : ["appconf::publish"]
    },

    "source" :
    {
      "extend" : ["include-contrib", "appconf::source"]
    },

    "test" :
    {
      "extend" : ["appconf::test"]
    },

    "test-source" :
    {
      "extend" : ["appconf::test-source"]
    },

    "translate" :
    {
      "extend" : ["appconf::translate"]
    }

  }
}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to