Thanks once more Sebastian. Added this info to the wiki. One more problem. If I exclude a class like FormUtils (--exclude qx.util.FormUtil), it also excludes qx.Settings, qx.OO and other vital classes. I just want that class to be excluded. It seems a bug.
Sebastian Werner wrote: > > It should also work with multiple settings, just be sure to remove the > space, it must be key:value not key: value > > Thanks > > Sebastian > > > > dperez schrieb: >> I've tried the runtime settings and works ok the 1st one. >> How can I set more than one. >> >> I have tried this: >> @nice -n $(NICE) $(GENERATOR) \ >> --script-input source/class \ >> --generate-compiled-script \ >> --add-file-ids \ >> --add-new-lines \ >> --compiled-script-file ../../servidor-ima/webIma/estatico/js/qx.js \ >> --exclude qx.util.FormUtil \ >> --define-runtime-setting \ >> qx.manager.object.AliasManager.resourceUri:/qooxdoo/ \ >> --define-runtime-setting \ >> qx.theme.icon.CrystalSvgIconTheme.imageUri: /qooxdoo/icon \ >> --cache-directory $(CACHE) >> >> and this: >> >> @nice -n $(NICE) $(GENERATOR) \ >> --script-input source/class \ >> --generate-compiled-script \ >> --add-file-ids \ >> --add-new-lines \ >> --compiled-script-file ../../servidor-ima/webIma/estatico/js/qx.js \ >> --exclude qx.util.FormUtil \ >> --define-runtime-setting \ >> qx.manager.object.AliasManager.resourceUri:/qooxdoo/ \ >> qx.theme.icon.CrystalSvgIconTheme.imageUri: /qooxdoo/icon \ >> --cache-directory $(CACHE) >> >> >> Sebastian Werner wrote: >>> Hi Jason, >>> >>> have you seen this document: >>> http://qooxdoo.org/documentation/user_manual/custom_builds >>> >>> This should explain how to compile your stuff to a custom file. You can >>> also include your application code. >>> >>> Sebastian >>> >>> >>> >>> Priebe, Jason schrieb: >>>> Thank you, Claus. But can I set these paths when I _compile_ qx.js so >>>> that my scripts don't have to worry about it? >>>> >>>>> <script> >>>>> qx = { >>>>> Settings : { >>>>> _customSettings : { >>>>> "qx.manager.object.AliasManager" : { >>>>> "resourceUri" : "/htdocs/resources/" >>>>> } >>>>> }, >>>>> _defaultSettings : { >>>>> ... >>>>> } >>>>> } >>>>> }; >>>>> </script> >>>>> >>>>> You can add something like the above code *before* you >>>>> include qooxdoo. Both _customSettings and _defaultSettings >>>>> are a hash where the keys are class names and contain hashes >>>>> where you can define your settings in the above syntax. Your >>>>> settings are copied into the storage system of qx.Setting >>>>> before anything else initializes. >>>>> >>>>> Regards, >>>>> Claus >>>>> -- >>>>> >>>>> Claus Augusti >>>>> Webfix Feature Team Schlund + Partner AG >>>>> Fon: +49 (721) 91374 - 4172 http://www.schlund.de >>>>> >>>>> -----Ursprüngliche Nachricht----- >>>>> Von: [EMAIL PROTECTED] >>>>> [mailto:[EMAIL PROTECTED] Im >>>>> Auftrag von Priebe, Jason >>>>> Gesendet: Montag, 21. August 2006 16:14 >>>>> An: qooxdoo Development >>>>> Betreff: [qooxdoo-devel] make source fails >>>>> >>>>> I'm finally getting around to trying 0.6 -- contratulations >>>>> on the RC, qooxdoo team! >>>>> >>>>> Anyway, I tried to build the source, and I got the following >>>>> error messages. Any guidance is welcome. >>>>> >>>>> Oh, yes, one other thing: what is the equivalent of >>>>> QxDefaultSettings.js where I used to set imageCorePath, etc.? >>>>> >>>>> >>>>> INITIALIZATION: >>>>> -------------------------------------------------------------- >>>>> ---------- >>>>> ---- >>>>> * Processing arguments... >>>>> >>>>> SOURCE LOADER: >>>>> -------------------------------------------------------------- >>>>> ---------- >>>>> ---- >>>>> * Loading JavaScript files: >>>>> .............................................................. >>>>> .......... >>>>> ..........!Traceback (most recent call last): >>>>> File "../framework/tool/generator/generator.py", line 787, in ? >>>>> main() >>>>> File "../framework/tool/generator/generator.py", line 259, in main >>>>> argparser(sys.argv[1:]) >>>>> File "../framework/tool/generator/generator.py", line 243, >>>>> in argparser >>>>> (fileDb, moduleDb) = load(options) >>>>> File "../framework/tool/generator/generator.py", line 288, in load >>>>> (fileDb, moduleDb) = loader.indexScriptInput(options) >>>>> File >>>>> "/home/priebe/projects/qooxdoo/0.6/frontend/framework/tool/gen >>>>> erator/mod >>>>> ules/loader.py", line 317, in indexScriptInput >>>>> indexSingleScriptInput(scriptInput, listIndex, options, fileDb, >>>>> moduleDb) >>>>> File >>>>> "/home/priebe/projects/qooxdoo/0.6/frontend/framework/tool/gen >>>>> erator/mod >>>>> ules/loader.py", line 308, in indexSingleScriptInput >>>>> indexFile(filePath, filePathId, scriptInput, listIndex, >>>>> scriptEncoding, sourceScriptPath, resourceInput, >>>>> resourceOutput, options, fileDb, moduleDb) >>>>> File >>>>> "/home/priebe/projects/qooxdoo/0.6/frontend/framework/tool/gen >>>>> erator/mod >>>>> ules/loader.py", line 222, in indexFile >>>>> tokens = tokenizer.parseStream(fileContent, fileId) >>>>> File >>>>> "/home/priebe/projects/qooxdoo/0.6/frontend/framework/tool/gen >>>>> erator/mod >>>>> ules/tokenizer.py", line 152, in parseStream >>>>> all = R_ALL.findall(content) >>>>> RuntimeError: maximum recursion limit exceeded >>>>> make[1]: *** [generate-script-source] Error 1 >>>>> make[1]: Leaving directory >>>>> `/home/priebe/projects/qooxdoo/0.6/frontend/api' >>>>> make: *** [source] Error 2 >>>>> >>>>> Jason Priebe >>>>> CBC New Media >>>>> >>>>> -------------------------------------------------------------- >>>>> ----------- >>>>> Using Tomcat but need to do more? Need to support web >>>>> services, security? >>>>> Get stuff done quickly with pre-integrated technology to make >>>>> your job easier Download IBM WebSphere Application Server >>>>> v.1.0.1 based on Apache Geronimo >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >>>>> dat=121642 >>>>> _______________________________________________ >>>>> qooxdoo-devel mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>>> >>>>> -------------------------------------------------------------- >>>>> ----------- >>>>> Using Tomcat but need to do more? Need to support web >>>>> services, security? >>>>> Get stuff done quickly with pre-integrated technology to make >>>>> your job easier Download IBM WebSphere Application Server >>>>> v.1.0.1 based on Apache Geronimo >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >>>>> dat=121642 >>>>> _______________________________________________ >>>>> qooxdoo-devel mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>>> >>>> ------------------------------------------------------------------------- >>>> Using Tomcat but need to do more? Need to support web services, >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make your job >>>> easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>> Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> qooxdoo-devel mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> ------------------------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your job >>> easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- View this message in context: http://www.nabble.com/make-source-fails-tf2140478.html#a5920498 Sent from the qooxdoo-devel forum at Nabble.com. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
