Jim Hunter <jim <at> epiuniverse.com> writes: > > > To start with, Javascript doesn't know anything about your file system, and by definition, it can't. You have to declare everything in Javascript. I suggest looking through the source code to see how it's done in qooxdoo. The qooxdoo classes don't get their name from the folders they are in, they get them when they are defined. Do a grep for defineClass and you will see how it's done. > Jim
Hi again, Just following up on this for the benefit of anyone else who may be searching the mailing lists: I'm not sure if this is new in 0.6.1 or has always been there - but the 0.6.1 build system does care about where your files are located in the filesystem. You must "package" files in the filesystem in the same way that they are namespaced in their declaration just like you would in java. If you don't you will see an error like this: SOURCE LOADER: ---------------------------------------------------------------------------- * Indexing files... * ID mismatch: CONTENT=a.b.c.App != PATH=custom.App make: *** [generate-script-build] Error 1 In other words, a class called "a.b.c.App" must be found in a/b/c/App.js. Simon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel