Hello Peter,
did you try to add your qxp namespace to the API_INCLUDE let key? This could 
resolve your problem.
Regards,
Martin


Am 14.01.2014 um 13:22 schrieb Peter Schneider <[email protected]>:

> Hi List,
> 
> it seems, that the 'api' job does not take @ignore() hints into account.
> 
> I've made a separate namespace ('qxp') for patches that I need to apply to the
> framework, so I can apply the patches at my Application.js like this:
> 
> ---------------------------------------------------
> <code>
> /**
> * This is the main application class ...
> *
> * @require(qxp.ui.core.Widget)
> * @require(qxp.ui.tooltip.Manager)
> * @require(qxp.io.remote.RequestQueue)
> */
> qx.Class.define("app.Application",
> {
>  extend : qx.application.Standalone,
> 
>  construct : function ()
>  {
>    this.base(arguments);
>    this.__patchFramework();
>  },
> 
>  members :
>  {
>    /**
>     * Applies necessary patches to the expected qooxdoo framework.
>     *
>     * @ignore(qxp.ui.core.Widget)
>     * @ignore(qxp.ui.tooltip.Manager)
>     * @ignore(qxp.io.remote.RequestQueue)
>     *
>     * @throws {Error} an error if the framework version does not fit
>     */
>    __patchFramework : function ()
>    {
>      // Check whether we patch the correct framework version
>      if (qx.core.Environment.get("qx.version") !== "3.0.2") {
>        throw new Error("Can't patch the framework! (version mismatch)");
>      }
> 
>      qx.Class.patch(qx.ui.core.Widget        , qxp.ui.core.Widget);
>      qx.Class.patch(qx.ui.tooltip.Manager    , qxp.ui.tooltip.Manager);
>      qx.Class.patch(qx.io.remote.RequestQueue, qxp.io.remote.RequestQueue);
>    }
>  }
> });
> </code>
> ---------------------------------------------------
> 
> It works fine for most jobs (source,build,lint,...), but complains when I run
> the 'api' job:
> 
> ----------------------------------------------------
>>>> Scanning libraries
> 
>>>> Collecting classes
>   - Processing explicitly configured includes/excludes...
>  - Warning: app.Application (25): Unknown global symbol used:
> qxp.io.remote.RequestQueue
>  - Warning: app.Application (25): Unknown global symbol used: 
> qxp.ui.core.Widget
>  - Warning: app.Application (25): Unknown global symbol used:
> qxp.ui.tooltip.Manager
>  - Sorting 1122 classes
>>>> Generating API data...
> ----------------------------------------------------
> 
> The config.json has been modified at the 'common' job like this:
> 
> ----------------------------------------------------
>  "jobs" : {
>    "common" : {
>      "use" : {
>        "app.Application" : [
>          "qxp.ui.core.Widget",
>          "qxp.ui.tooltip.Manager",
>          "qxp.io.remote.RequestQueue"
>        ]
>      },
>      // ...
>    }
>  }
> ----------------------------------------------------
> 
> Adding the "use" section to the "api" job did not change anything, by the way
> :( ...
> 
> 
> Anything I can do about it?
> 
> Thanks in advance for any hint/tip,
>  Peter
> 
> 
> -- 
> 
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today. 
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to