On 04/05/2013 01:41 AM, jabraham wrote: > Hi All > > Is it possible to configure the name of the output js file for a configured > app. > > Currently my app is composed of 4 parts, 2 of which are themes. > So after a build, I have the following files > > myApp.38e44c59e296.js > myApp.1774ff302f99.js > myApp.c3b119790dc8.js > myApp.e12092905737.js > myApp.js > > I would like to generate it such that I get the following list. (The themes > are custome specific and loaded dynamically) > > theme1.js > theme2.js > myApp.c3b119790dc8.js > myApp.e12092905737.js > myApp.js > > How can I configure the name of the final .js file
Generally, there is *no* 1:1 relation between the parts you define in your config and the .js files generated on disk. There is an n:m relation between *parts* and what we call *packages* (which are collections of classes), and an n:m relation between *packages* and *scripts* (.js files). In other words, a part is embodied by a number of packages, each of which is embodied by a number of .js files. Among other things, this also means that generated script files may be shared across several parts. Therefore, it doesn't make much sense to name script files after parts. You have to consider the fact that you have 4 parts defined and get 4 .js files (apart of the loader) as accidential. The general upper limit for .js files is 2 ^ number_of(parts) -1 (i.e. 15 in your case), and the actual number you end up with also depends on optimizations and configuration settings. HTH, T. ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
