Fixed it - there's a one-line change in
tool/pylib/generator/config/Config.py, on line 428 (in the 0.8.0 release)
comment the line "lib['uri'] = lib['path']", here's the code snippet for
context:

 

  ...snip...

      manifest = Manifest(self.absPath(manifest))

      lib = manifest.patchLibEntry(lib)

      # absolutize paths (this might not be the best place to do that)

      for entry in ('path',):

        lib[entry] = self.absPath(lib[entry])

      # patch uri: set it to 'path' here, let Generator.scanLib append
suffix for classes

      # and correct it in Generator.runSource, which knows the prefix and
relativizes the

      # result

      #lib['uri'] = lib['path']   < < DELETE THIS LINE

 

I'll update the bug, but there is a related change I'd like to ask for: by
default, the base.json adds the application's Manifest with a URI of "..".
I would like to be able to override this in my app's config.json to give an
explicit URI - an easy way to do this would be to add a "URI" variable in
the "let" section of base.json and use that on lines 43 and 65 instead of
"..".  Would it be possible for you to add that it in, or is there a better
way for me to achieve the same thing?

 

John

 

From: John Spackman [mailto:[EMAIL PROTECTED] 
Sent: 16 October 2008 12:39
To: [email protected]
Subject: [qooxdoo-devel] Value of macro "QOOXDOO_URI" is not used

 

Is there any timescales for fixing this bug:

                http://bugzilla.qooxdoo.org/show_bug.cgi?id=1413

 

it's marked as P1/major and it's broken our upgrade from 0.7.  If it's a
long way off, I might have a go myself - although not having ever written in
python (or seen it before qooxdoo) that might be ambitious.  Can anyone give
me any pointers of where to look for the code?

 

John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to