Hi Jonathan, the problem with your setup is that you have a "-" in your top level qooxdoo namespace. Then the browser tries to resolve "qooxdoo-test.theme.Theme" the dash is evaluated a minus sign. Namespaces in qooxdoo are in general all lowercase. Additionally the may contain the "_" character and numbers as long as a number is not the first character.
Best Fabian > I'm trying to get Qooxdoo working, but I am having problems. > > This is what I did. > > $ su -c "mkdir /var/www/html/jgardner" > $ su -c "chown jgardner:jgardner /var/www/html/jgardner" > $ cd /var/www/html/jgardner > $ unzip /home/jgardner/Downloads/qooxdoo-0.8.1-sdk.zip > $ qooxdoo-0.8.1-sdk/tool/bin/create-application.py --name qooxdoo-test > >>> Copy skeleton into the output directory: ./qooxdoo-test > >>> Patching file './qooxdoo-test/Manifest.json' > >>> Patching file './qooxdoo-test/generate.py' > >>> Patching file './qooxdoo-test/config.json' > >>> Patching file './qooxdoo-test/source/index.html' > >>> Patching file './qooxdoo-test/source/class/qooxdoo-test/Application.js' > >>> Patching file './qooxdoo-test/source/class/qooxdoo-test/theme/Theme.js' > >>> Patching file './qooxdoo-test/source/class/qooxdoo-test/theme/Font.js' > >>> Patching file > './qooxdoo-test/source/class/qooxdoo-test/theme/Decoration.js' > >>> Patching file > './qooxdoo-test/source/class/qooxdoo-test/theme/Appearance.js' > >>> Patching file './qooxdoo-test/source/class/qooxdoo-test/theme/Color.js' > >>> Patching file > './qooxdoo-test/source/class/qooxdoo-test/test/DemoTest.js' > >>> DONE > $ cd qooxdoo-test > $ ./generate.py source-all > > ============================================================================ > INITIALIZING: QOOXDOO-TEST > ============================================================================ > >>> Configuration: config.json > >>> Jobs: source-all > >>> Resolving config includes... > >>> Resolving jobs... > >>> Resolving macros... > >>> Resolving libs/manifests... > > ============================================================================ > EXECUTING: SOURCE-ALL::SOURCE-ALL-SCRIPT > ============================================================================ > >>> Scanning libraries... > - Scanning /var/www/html/jgardner/qooxdoo-0.8.1-sdk/framework... > - Scanning /var/www/html/jgardner/qooxdoo-test... > - Excludes may break code! > >>> Resolving dependencies... > - Sorting 446 classes... > >>> Generate source version... > - Processing translation for 2 locales... > - Analysing assets... > - Compiling resource list... > - Generate translation code... > - Generating boot loader... > >>> Done > > Then, when I browse to > http://127.0.0.1/jgardner/qooxdoo-test/source/index.html, I see nothing > after a few seconds. > > In Firebug, I see the following messages: > > qooxdoo is not defined > color : qooxdoo-test.theme.Color, > Theme.js (line 15) > > 2479ms Mixin "qx.core.MAssert" is already included into Class > "qx.dev.unit.TestCase" by class: qx.core.Object! > The theme to use is not available: qooxdoo-test.theme.Theme > > throw new Error("The theme to use is not available: " + theme); > Meta.js (line 108) > 8479ms Part boot successfully loaded > 8489ms qx.core.Init: Load runtime: 8489ms > > [Exception... "'Error: The theme to use is not available: > qooxdoo-test.theme.Theme' when calling method: > [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c > (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] > > > I'm using Firefox 3.0.5 with Firebug 1.2.1 running on Fedora 10. > > > I noticed two things that might be related. > > (1) It appears that the qooxdoo-test app relies on a lot of things in > the qooxdo-0.8.1-sdk directory. It references them with relative paths > (../../qooxdoo-0.8.10sdk/blah). > > (2) The "Resolving Dependencies" step takes a very long time, greater > than a minute. > > > Any assistance would be appreciated. > > By the way, I am trying out Qooxdoo because of Kenny Tilton's articles > on Smug Lisp Weeney. I blame him for generating enough interest in it to > actually try it out and then report my problems when it isn't working. > It's his fault. > > ------------------------------------------------------------------------------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > -- Fabian Jakobs JavaScript Framework Developer 1&1 Internet AG Brauerstraße 48 76135 Karlsruhe Amtsgericht Montabaur HRB 6484 Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim Weiss Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
