Andy Fuchs wrote:
> If I create a vanilla plain project and - without adding one line of code, I
> try to generate the source, I get an error (see below), that the apiviewer
> is missing! Why is that?
>   

The issue is in the config system. 'application.json' is drawing in the 
(export) configs of various components. If those configs are not found, 
you get the reported error.

A quick fix for you would be to include 'base.json' rather than 
'application.json' (same path, though) in the config file you're using, 
since application.json is the one drawing in all the external apps. This 
would cut off all dependencies to apiviewer, testrunner, inspector and 
whatnot, and leave you with the base jobs 'source', 'build', ... 
Probably what you want. Have a look in the application.json if there are 
any settings you should copy over to your local config, to make 
base.json run smoothly.

> I'd like to check in the bare minimum qooxdoo framework into my SVN to keep
> it together with my project. So my idea was to remove demoapps, inspector,
> etc.. But that seems not to work.
>
> Is there any info on the minimum files/folders required?
>   

<grin>... no, we never thought about a "light" version of the SDK :-).


Thomas

> thx
>
> andy
>
>
>
> Andy-Pro:custmtest andy$ ./generate.py source
> ============================================================================
>     INITIALIZING: CUSTMTEST
> ============================================================================
>   
>>>> Configuration: config.json
>>>> Jobs: source
>>>> Resolving config includes...
>>>>         
> Traceback (most recent call last):
>   File "/Users/andy/Sites/qooxdoo/tool/bin/generator.py", line 144, in
> <module>
>     main()
>   File "/Users/andy/Sites/qooxdoo/tool/bin/generator.py", line 103, in main
>     config.resolveIncludes()
>   File "/Users/andy/Sites/qooxdoo/tool/pylib/generator/config/Config.py",
> line 286, in resolveIncludes
>     econfig.resolveIncludes(includeTrace)   # recursive include
>   File "/Users/andy/Sites/qooxdoo/tool/pylib/generator/config/Config.py",
> line 285, in resolveIncludes
>     econfig = Config(self._console, fpath)
>   File "/Users/andy/Sites/qooxdoo/tool/pylib/generator/config/Config.py",
> line 53, in __init__
>     self.__init_fname(data)
>   File "/Users/andy/Sites/qooxdoo/tool/pylib/generator/config/Config.py",
> line 80, in __init_fname
>     obj = open(fname)
> IOError: [Errno 2] No such file or directory:
> u'/Users/andy/Sites/qooxdoo/component/apiviewer/api.json'
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to