When adding a "=" at the beginning of "build-script" this error do not
occour. Still totally confused which happens internalls in the previous
configuration. Any idea?

Sebastian



2009/4/8 Sebastian Werner <[email protected]>

> Hi list,
>
> another small issue with the generator. When dealing with two jobs which
> are basically identical (build different variant combinations from the same
> application), I get a crazy result where it seems that both variant blocks
> from different jobs are merged somehow.
>
> I the following example when I execute "build-script" the following
> happens:
>
> * Executes build-script-mobile
>   * Build variant with "ngwp.platform" = "mobile" (OK)
>   * Build variant with "ngwp.platform" = "air" (Wrong)
> * Executes build-script-air
>   * Build variant with "ngwp.platform" = "mobile" (Wrong)
>   * Build variant with "ngwp.platform" = "air" (OK)
>
> Is this a configuration error or a bug in the generator? Thanks for any
> hints.
>
> Cheers,
> Sebastian
>
>
>
>     "build-script" :
>     {
>       "run" :
>       [
>         "build-script-mobile",
>         "build-script-air"
>       ]
>     },
>
>     "build-script-mobile" :
>     {
>       "extend" : ["common"],
>
>         "variants" :
>         {
>           "qx.client" : [ "webkit" ],
>           "qx.debug" : [ "off" ],
>           "ngwp.platform" : [ "mobile" ]
>         },
>
>       "compile-dist" :
>       {
>         "paths"  :
>         {
>           "file" : "${BUILD_PATH}/script/${APPLICATION}-{ngwp.platform}.js"
>         },
>         "uris"   :
>         {
>           "script"   : "script"
>         },
>         "code"   :
>         {
>           "format"   : true,
>           "locales"  : "${LOCALES}",
>           "optimize" : "${OPTIMIZE}"
>         }
>       }
>     },
>
>     "build-script-air" :
>     {
>       "extend" : ["common"],
>
>         "variants" :
>         {
>           "qx.client" : [ "webkit" ],
>           "qx.debug" : [ "off" ],
>           "ngwp.platform" : [ "air" ]
>         },
>
>       "compile-dist" :
>       {
>         "paths"  :
>         {
>           "file" : "${BUILD_PATH}/script/${APPLICATION}-{ngwp.platform}.js"
>         },
>         "uris"   :
>         {
>           "script"   : "script"
>         },
>         "code"   :
>         {
>           "format"   : true,
>           "locales"  : "${LOCALES}",
>           "optimize" : "${OPTIMIZE}"
>         }
>       }
>     }
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to