There is a problem adding a directory

Case 1:

config.json :

    "libraries" :
    {
      "library" :
      [
        {
          "manifest" : "../tools/trunk/Manifest.json"
        }
      ]
    }

Manifest file:
  "provides" :
  {
    "namespace"   : "qx",
    "encoding"    : "utf-8",

----------
Using qx which is already a directory of qooxdoo does not generate an error 
here, but the library is not included the right way. Application works.


Case 2:

config.json :



    "libraries" :

    {

      "library" :

      [

        {

          "manifest" : "../tools/trunk/Manifest.json"

          "uri"        : "../tools/trunk",
        }

      ]

    }



Manifest file:

  "provides" :

  {

    "namespace"   : "qx",

    "encoding"    : "utf-8",

------------
Adding the uri path changes it all. Library is not included. Application does 
not work anymore.



Case 3:
config.json :



    "libraries" :

    {

      "library" :

      [

        {

          "manifest" : "../tools/trunk/Manifest.json"

          "uri"        : "../tools/trunk",

          "namespace"  : "qx.ui.test"


        }

      ]

    }



Manifest file:

  "provides" :

  {

    "namespace"   : "qx",

    "encoding"    : "utf-8",

-

The same as in case 2.
------------

To me it seems to be a bug.

I guess it would be reasonable to do overloading, but then the generator should 
warn about it.
Otherwise I think the option of adding to an existing namespace should be open 
and not eradicating what was there before.
Prune and graft is also a good idea, especially to expand a namespace structure 
with more branches.

Is that of interest?

Stefan
                                          
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to