Here's what I get inthe config.json , if I create an (empty) custom
application:

{
  "name"    : "custmtest",

  "include" :
  [
    {
      "path" : "${QOOXDOO_PATH}/tool/data/config/application.json"
    }
  ],

If I try to build the source with this setting, I get the errors I reported.
If I change the 'path' to this:

      "path" : "${QOOXDOO_PATH}/tool/data/config/base.json"

everything compiles...

a.


On 10.03.09 18:08, "Andy Fuchs" <[email protected]> wrote:

> Hi Derrell,
> 
> nope... I'm calling the generator from within the custom directory:
> 
> Andy-Pro:custmtest andy$ pwd
> /Users/andy/Sites/custmtest
> Andy-Pro:custmtest andy$ ./generate.py source
> ...
> IOError: [Errno 2] No such file or directory:
> u'/Users/andy/Sites/qooxdoo/component/apiviewer/api.json'
> Andy-Pro:custmtest andy$
> 
> andy
> 
> 
> 
> 
> On 10.03.09 17:54, "Derrell Lipman" <[email protected]>
> wrote:
> 
>> Andy, this look s a lot like you're running ./generate.py from the qooxdoo
>> core directory, not from wherever you placed your application that you
>> created with create-application.py. You should only be running generate.py
>> in your application directory structure, not in the qooxdoo core (framework)
>> structure.
>> 
>> Derrell
>> 
>> 
>> On Tue, Mar 10, 2009 at 12:42 PM, Andy Fuchs <[email protected]> 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?
>>> 
>>> 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?
>>> 
>>> 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
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> 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