You could get a bit shorter by taking advantage of various defaults 
provided through application.json:

{
   "name"    : "eyeos",

   "include" :
   [
     {
       "path" : "${QOOXDOO_PATH}/tool/data/config/application.json"
     }
   ],

   "default-job" : "debug",

   "let" :
   {
     "APPLICATION"  : "eyeos",
     "QOOXDOO_PATH" : "../qooxdoo-1.5-sdk",
     "QXTHEME"      : "eyeos.theme.EyeTheme",
     "API_EXCLUDE"  : ["qx.test.*", "${APPLICATION}.theme.*", 
"${APPLICATION}.test.*", "${APPLICATION}.simulation.*"],
     "LOCALES"      : [ "en" ],
     "CACHE"        : "${TMPDIR}/qx${QOOXDOO_VERSION}/cache",
     "ROOT"         : ".",
     "DESTINATION"  : "../../eyeos/extern/js"
   },


   "jobs" :
   {

     "libraries" :
     {
       "library" :
       [
         {
           "manifest" : "../jqplot/Manifest.json"
           ,"uri": "devtools/jqplot"
         },
         {
           "manifest" : "../eyeos_old/Manifest.json"
           ,"uri": "devtools/eyeos_old"
         }
       ]
     },
     "base":
     {
       "include": ["qx.*", "eyeos.*", "qxjqplot.*"],
       "exclude": ["qx.test.*"],

       "compile-options": {
         "paths": {
           "app-root": "../../"
         }
       }
     },


     "debug":
     {
       "extend": ["base", "source-script"],

       "compile-options": {
         "paths": {
           "file": "${DESTINATION}/eyeos.debug.js"
         },
         "code": {
           "except"  : ["eyeos.*"]
         }
       }
     },

     "compile":
     {
       "extend": ["base", "build-script"],

       "compile-options": {
         "paths": {
           "file": "${DESTINATION}/eyeos.js"
         },
         "code": {
           "format": false
         }
       }
     }
   }
}

This configuration also lacks taking care of where resources like images 
go to, but I guess you handle that in a separate way.

T.


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to