Ian Horst wrote:
> Hi,
>
> I use qooxdoo trunk.
>
> I added to "library" in "libraries" job:
> ---------------
> {
> "manifest" : "contrib://qcl/trunk/frontend/Manifest.json",
> "uri" : "/qooxdoo-downloads/qcl/trunk/frontend"
> }
> ---------------
>
> My "api" job is:
> ---------------
> "api" :
> {
> "let" :
> {
> "APIVIEWER_ROOT" : "${QOOXDOO_PATH}/component/apiviewer",
> "BUILD_PATH" : "./api",
> "API_INCLUDE" : ["qx.*", "qcl.*", "${APPLICATION}.*"]
> }
> }
> ---------------
>
> I can build my app without issues, but I'm not able create API. Do I
> miss anything?
>
> Error I get:
> ---------------
> Traceback (most recent call last):
> File
> "/var/www/localhost/htdocs/....../application/frontend/qooxdoo/tool/bin/generator.py",
> line 149, in <module>
> main()
> File
> "/var/www/localhost/htdocs/....../application/frontend/qooxdoo/tool/bin/generator.py",
> line 144, in main
> Generator(config, job, console).run()
> File
> "/var/www/localhost/htdocs/....../application/frontend/qooxdoo/tool/pylib/generator/Generator.py",
> line 443, in run
> smartInclude, explicitInclude = getIncludes(self._job.get("include", []))
> File
> "/var/www/localhost/htdocs/....../application/frontend/qooxdoo/tool/pylib/generator/Generator.py",
> line 330, in getIncludes
> smartInclude = self._expandRegExps(smartInclude)
> File
> "/var/www/localhost/htdocs/....../application/frontend/qooxdoo/tool/pylib/generator/Generator.py",
> line 1230, in _expandRegExps
> raise RuntimeError, "Expression gives no results. Malformed entry:
> %s" % entry
> RuntimeError: Expression gives no results. Malformed entry: qcl.*
> ---------------
>
>
Ian, the Apiviewer you create with 'generate.py api' is currently not
prepared to include libraries other than your main app and the framework
classes. But you want to include the qcl classes.
But you can force it to include other libraries as well. In your "api"
job, try to add the libraries as well, e.g. with '"extend" : ["libraries"]'.
Let us know how you fare.
T.
> ----
> Ian
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel