Hi Thomas

This is on master, it's the server component, but the create-application.py
was run several years ago (from before when the server component existed)
and the result used as template; the custom jobs from [1] were developed and
added last year.

My source jobs (called qxoo-source) are here:
"qxoo" : {

"extend" : [ "server-libraries", "cache" ],



"include" : [ 

             "qx.Class",

             "qx.Mixin",

             "qx.Interface",

             "grasshopper.qx.ServerInit",

             "${SERVER_APPLICATION_MAIN_CLASS}"

            ],



"exclude" : [ 

              "qx.event.GlobalError"

            ],



"environment" : {

"qx.debug" : false,

"qx.aspects" : false,

"qx.globalErrorHandling" : false,

"qx.debugLoader": false,

"qx.ooLoader": "load",

"qx.application" : "${SERVER_APPLICATION_MAIN_CLASS}"

},



"compile-options" : {

"paths" : {

"loader-template" : "${QXOO_DIR}/oo.loader.tmpl.js"

},

"uris" : {

"script" : ".",

"resource" : "."

}

}



},



"qxoo-source" : {

"extend" : [ "qxoo" ],



"compile-options" : {

"paths" : {

"file" : "${ROOT}/source/script/qx-oo.js",

"approot": "${ROOT}/source/script"

},

"code" : {

"format" : true,

"optimize" : []

}

},



"compile" : {

"type" : "source"

},



"environment" : {

"qx.debug" : true

}

}


[1]: http://bugs.qooxdoo.org/show_bug.cgi?id=5100

John

From:  thron7 <[email protected]>
Reply-To:  qooxdoo Development <[email protected]>
Date:  Tuesday, 12 June 2012 13:46
To:  qooxdoo Development <[email protected]>
Subject:  Re: [qooxdoo-devel] Generator load script - how to prevent merging
of files in custom job

    
 are you using master/trunk?
 are you working in a custom application, or are you talking about the
framework component/standalone/server?
 if it's a custom application, when did you run the corresponding
'create-application.py'? with which app type?
 if it's a custom application, how is your custom 'source' job defined?
 
 in general, when you run 'generate.py source' in a current 'server'
skeleton, it will create just that, a loader in source/script that loads all
app classes individually.
 
 the qx-oo library can be re-created with 'generate.py library'. the
non-minified version of the library can be created in
component/standalone/server with the 'build' job. the library itself is not
meant to be a loader, so will aways contain the final code.
 
 i presume 'generate.py source' is what you want (and is intended for the
purpose you describe).
 
 t.
 
 On 06/12/2012 02:27 PM, John Spackman wrote:
>  
> Hi
>  
> 
>  
>  
> I use a custom job to compile server "source" build, and the generator used to
> output the list of files into my source/qx-oo.js and then my custom loader
> would load the files one-by-one ­ but at some point this changed and instead
> of outputting a list of files, the generator now always outputs the full
> content of all files into source/qx-oo.js instead of the list of paths.
>  
> 
>  
>  
> I'd really like to turn this off to enable server-side debugging and better
> error messages but I can't see what switches this behaviour on and off ­
> please can I have a hint of where to start looking?
>  
> 
>  
>  
> Thanks
>  
> John
>  
>   
>  
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>  
>   
>  
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]https://lists.sourceforge.net/lists/listinf
> o/qooxdoo-devel
>  
 
----------------------------------------------------------------------------
-- Live Security Virtual Conference Exclusive live event will cover all the
ways today's security and threat landscape has changed and how IT managers
can respond. Discussions will include endpoint security, mobile security and
the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___________________
____________________________ qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to